Class Validator
java.lang.Object
org.openpreservation.odf.validation.Validator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvalidateSingleFormat
(File toValidate, Formats legal) validateSingleFormat
(Path toValidate, Formats legal) validateSpreadsheet
(File toValidate) validateSpreadsheet
(Path toValidate)
-
Constructor Details
-
Validator
public Validator()
-
-
Method Details
-
validateSpreadsheet
public ValidationReport validateSpreadsheet(Path toValidate) throws PackageParser.ParseException, FileNotFoundException -
validateSpreadsheet
public ValidationReport validateSpreadsheet(File toValidate) throws PackageParser.ParseException, FileNotFoundException -
validateSingleFormat
public ValidationReport validateSingleFormat(File toValidate, Formats legal) throws PackageParser.ParseException, FileNotFoundException -
validateSingleFormat
public ValidationReport validateSingleFormat(Path toValidate, Formats legal) throws PackageParser.ParseException, FileNotFoundException -
validate
public ValidationReport validate(File toValidate) throws PackageParser.ParseException, FileNotFoundException -
validate
public ValidationReport validate(Path toValidate) throws PackageParser.ParseException, FileNotFoundException
-