Package org.cdlib.mrt.utility
Class Checksums
java.lang.Object
org.cdlib.mrt.utility.Checksums
- Author:
- replic
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected ArrayList<Checksums.Digest> protected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfinishDigest(Checksums.Digest inDigest) static MessageDigestTypegetAlgorithm(String algorithmS) getChecksum(String checksumType) static ChecksumsgetChecksums(String[] types, File inFile) static ChecksumsgetChecksums(String[] types, InputStream inStream) longstatic voidvoidvoidprocess(InputStream inputStream)
-
Field Details
-
BUFSIZE
protected static final int BUFSIZE- See Also:
-
digestList
-
inputSize
protected long inputSize
-
-
Constructor Details
-
Checksums
- Throws:
TException
-
-
Method Details
-
getChecksums
- Throws:
TException
-
getChecksums
- Throws:
TException
-
main
-
process
- Throws:
TException
-
process
- Throws:
TException
-
getChecksum
- Throws:
TException
-
finishDigest
- Throws:
TException
-
getAlgorithm
-
getDigestList
-
getInputSize
public long getInputSize()
-