gov.nasa.pds.validate
Class FileValidator
java.lang.Object
gov.nasa.pds.validate.Validator
gov.nasa.pds.validate.FileValidator
public class FileValidator
- extends Validator
Class that validates a single file.
- Author:
- mcayanan
Method Summary |
void |
validate(File file)
Validate a PDS product file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileValidator
public FileValidator(String modelVersion,
Report report)
- Constructor.
- Parameters:
modelVersion
- The model version to use for validation.report
- A Report object to output the results.
validate
public void validate(File file)
throws SAXException,
IOException,
ParserConfigurationException,
XPathExpressionException
- Validate a PDS product file.
- Specified by:
validate
in class Validator
- Parameters:
file
- A PDS product file.
- Throws:
ParserConfigurationException
IOException
SAXException
XPathExpressionException
Copyright © 2010-2012 Planetary Data System. All Rights Reserved.