Module kala.compress.archivers.zip
Package kala.compress.archivers.zip
Class ZipArchiveReader.StoredStatisticsStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
kala.compress.utils.CountingInputStream
kala.compress.archivers.zip.ZipArchiveReader.StoredStatisticsStream
- All Implemented Interfaces:
Closeable,AutoCloseable,InputStreamStatistics
- Enclosing class:
ZipArchiveReader
private static final class ZipArchiveReader.StoredStatisticsStream
extends CountingInputStream
implements InputStreamStatistics
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGets the amount of raw or compressed bytes read by the stream.longGets the amount of decompressed bytes returned by the stream.Methods inherited from class kala.compress.utils.CountingInputStream
count, getBytesRead, read, read, readMethods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
StoredStatisticsStream
StoredStatisticsStream(InputStream in)
-
-
Method Details
-
getCompressedCount
public long getCompressedCount()Description copied from interface:InputStreamStatisticsGets the amount of raw or compressed bytes read by the stream.- Specified by:
getCompressedCountin interfaceInputStreamStatistics- Returns:
- the amount of raw or compressed bytes read by the stream.
-
getUncompressedCount
public long getUncompressedCount()Description copied from interface:InputStreamStatisticsGets the amount of decompressed bytes returned by the stream.- Specified by:
getUncompressedCountin interfaceInputStreamStatistics- Returns:
- the amount of decompressed bytes returned by the stream.
-