public class FileValidator extends Validator
catalogs, force, labelValidator, report, schemas, schematronTransformer| Constructor and Description |
|---|
FileValidator(String modelVersion,
Report report)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate(File file)
Validate a PDS product file.
|
void |
validate(URL url) |
addValidator, setCachedEntityResolver, setCachedLSResourceResolver, setCatalogs, setForce, setSchemas, setSchematronspublic FileValidator(String modelVersion, Report report) throws ParserConfigurationException, gov.nasa.pds.tools.label.ValidatorException, TransformerConfigurationException
modelVersion - The model version to use for validation.report - A Report object to output the results.ParserConfigurationExceptiongov.nasa.pds.tools.label.ValidatorExceptionTransformerConfigurationExceptionpublic void validate(File file) throws Exception
validate in class Validatorfile - A PDS product file.ParserConfigurationExceptionIOExceptionSAXExceptionXPathExpressionExceptionTransformerExceptionInventoryReaderExceptiongov.nasa.pds.tools.label.ValidatorExceptionExceptionCopyright © 2010–2018 Planetary Data System. All rights reserved.