Interface ValidatingParser
- All Superinterfaces:
PackageParser
-
Method Summary
Modifier and TypeMethodDescriptionvalidatePackage
(OdfPackage odfPackage) Validates the given ODF package.Methods inherited from interface org.openpreservation.odf.pkg.PackageParser
parsePackage, parsePackage, parsePackage
-
Method Details
-
validatePackage
Validates the given ODF package.- Parameters:
odfPackage
- the ODF Package to validate, this must not be null- Returns:
- a ValidationReport containing the results of the validation
- Throws:
IOException
- if there's a problem reading package elements from the zip file.
-