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 ParserConfigurationException, IOException, SAXException -
validateSpreadsheet
public ValidationReport validateSpreadsheet(File toValidate) throws ParserConfigurationException, IOException, SAXException -
validateSingleFormat
public ValidationReport validateSingleFormat(File toValidate, Formats legal) throws ParserConfigurationException, IOException, SAXException -
validateSingleFormat
public ValidationReport validateSingleFormat(Path toValidate, Formats legal) throws ParserConfigurationException, IOException, SAXException -
validate
public ValidationReport validate(File toValidate) throws ParserConfigurationException, IOException, SAXException -
validate
public ValidationReport validate(Path toValidate) throws ParserConfigurationException, IOException, SAXException
-