Package org.duracloud.common.util.bulk
Class ManifestVerifier
java.lang.Object
org.duracloud.common.util.bulk.ManifestVerifier
This class compares two manifest files for
equal size and
checksum/entryname mappings
The expected format of the input files is
- Author:
- Andrew Woods Date: Oct 24, 2009
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected Stringvoidreport(OutputStream out) protected Stringvoidverify()This method checks the provided manifest files for: same number of manifest entries equal checksums per entryvoidThis method checks the provided manifest files for: same number of manifest entries equal checksums per entry
-
Field Details
-
DELIM
public static final char DELIM- See Also:
-
-
Constructor Details
-
ManifestVerifier
-
-
Method Details
-
report
-
resultEntries
-
verify
This method checks the provided manifest files for: same number of manifest entries equal checksums per entry- Parameters:
filters- List of names that if found in the manifests will be ignored.- Throws:
ManifestVerifyException- if files differ in size or checksums
-
verify
This method checks the provided manifest files for: same number of manifest entries equal checksums per entry- Throws:
ManifestVerifyException- if files differ in size or checksums
-
addEntry
-
titleOf
-
fileOf
-