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:
Closeable,AutoCloseable,InputStreamStatistics
- Enclosing class:
ZipFile
private static final class ZipFile.StoredStatisticsStream
extends org.apache.commons.io.input.BoundedInputStream
implements InputStreamStatistics
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.io.input.BoundedInputStream
org.apache.commons.io.input.BoundedInputStream.Builder -
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 org.apache.commons.io.input.BoundedInputStream
afterRead, available, builder, close, getCount, getMaxCount, getMaxLength, getRemaining, isPropagateClose, mark, markSupported, onMaxLength, read, read, read, reset, setPropagateClose, skip, toStringMethods inherited from class org.apache.commons.io.input.ProxyInputStream
beforeRead, handleIOException, unwrap
-
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.
-