Class ZipFile.StoredStatisticsStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.commons.io.input.ProxyInputStream
-
- org.apache.commons.io.input.BoundedInputStream
-
- org.apache.commons.compress.archivers.zip.ZipFile.StoredStatisticsStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,InputStreamStatistics
- Enclosing class:
- ZipFile
private static final class ZipFile.StoredStatisticsStream extends org.apache.commons.io.input.BoundedInputStream 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 org.apache.commons.io.input.BoundedInputStream
afterRead, available, builder, close, getCount, getMaxCount, getMaxLength, getRemaining, isPropagateClose, mark, markSupported, onMaxLength, read, read, read, reset, setPropagateClose, skip, toString
-
Methods inherited from class org.apache.commons.io.input.ProxyInputStream
beforeRead, handleIOException, setReference, unwrap
-
-
-
-
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.
-
-