Class ChecksumCalculatingInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.util.zip.CheckedInputStream
org.apache.commons.compress.utils.ChecksumCalculatingInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Deprecated.
Calculates the checksum of the data read.
- Since:
- 1.14
- This class is not thread-safe
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorDescriptionChecksumCalculatingInputStream
(Checksum checksum, InputStream inputStream) Deprecated. -
Method Summary
Methods inherited from class java.util.zip.CheckedInputStream
getChecksum, read, read, skip
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset
-
Constructor Details
-
ChecksumCalculatingInputStream
Deprecated.Constructs a new instance.- Parameters:
checksum
- The checksum to updateinputStream
- The input stream to read.
-
-
Method Details
-
getValue
Deprecated.Returns the calculated checksum.- Returns:
- the calculated checksum.
-
CheckedInputStream
.