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 int
protected ArrayList<Checksums.Digest>
protected long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
finishDigest
(Checksums.Digest inDigest) static MessageDigestType
getAlgorithm
(String algorithmS) getChecksum
(String checksumType) static Checksums
getChecksums
(String[] types, File inFile) static Checksums
getChecksums
(String[] types, InputStream inStream) long
static void
void
void
process
(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()
-