org.daisy.zedval.zedsuite.v2002
Class OpfIntegrity
java.lang.Object
org.daisy.zedval.engine.ZedCustomTest
org.daisy.zedval.zedsuite.v2002.OpfIntegrity
- public class OpfIntegrity
- extends ZedCustomTest
Performs package file integrity checks:
- opf_exists
- Package file exists
- opf_isReadable
- Package file is readable
- opf_fileExtn
- Package file has .opf extension
Note: In default ZedVal application (and probably in others),
package file existence test will probably never be executed here. Instead, it
will throw an application error earlier on in the process. This test is
included here for completeness of the test processor suite.
- Author:
- James Pritchett
Method Summary |
void |
performTest(ZedFile f)
Performs the integrity tests on the package file |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpfIntegrity
public OpfIntegrity()
performTest
public void performTest(ZedFile f)
throws ZedCustomTestException
- Performs the integrity tests on the package file
- Specified by:
performTest
in class ZedCustomTest
- Parameters:
f
- A PackageFile instance
- Throws:
ZedCustomTestException