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:
java.io.Closeable,java.lang.AutoCloseable,InputStreamStatistics
- Enclosing class:
- ZipArchiveReader
private static final class ZipArchiveReader.StoredStatisticsStream extends CountingInputStream implements InputStreamStatistics
-
-
Constructor Summary
Constructors Constructor Description StoredStatisticsStream(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCompressedCount()Gets the amount of raw or compressed bytes read by the stream.longgetUncompressedCount()Gets the amount of decompressed bytes returned by the stream.-
Methods inherited from class kala.compress.utils.CountingInputStream
count, getBytesRead, read, read, read
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, reset, skip
-
-
-
-
Method Detail
-
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.
-
-