gov.nasa.pds.validate
Class BundleValidator
java.lang.Object
gov.nasa.pds.validate.Validator
gov.nasa.pds.validate.BundleValidator
public class BundleValidator
- extends Validator
A class that validates a PDS Bundle file.
- Author:
- mcayanan
Method Summary |
void |
validate(File bundle)
Validates a PDS bundle file and all files that it references inside
the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleValidator
public BundleValidator(String modelVersion,
Report report)
- Constructor.
- Parameters:
modelVersion
- The model version to use for validation.report
- A Report to capture the results of the validation.
validate
public void validate(File bundle)
throws InventoryReaderException
- Validates a PDS bundle file and all files that it references inside
the file.
- Specified by:
validate
in class Validator
- Parameters:
bundle
- A PDS Bundle file.
- Throws:
InventoryReaderException
Copyright © 2010-2013 Planetary Data System. All Rights Reserved.