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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the amount of raw or compressed bytes read by the stream.
    long
    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, unwrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StoredStatisticsStream

      StoredStatisticsStream(InputStream in)
  • Method Details

    • getCompressedCount

      public long getCompressedCount()
      Description copied from interface: InputStreamStatistics
      Gets the amount of raw or compressed bytes read by the stream.
      Specified by:
      getCompressedCount in interface InputStreamStatistics
      Returns:
      the amount of raw or compressed bytes read by the stream.
    • getUncompressedCount

      public long getUncompressedCount()
      Description copied from interface: InputStreamStatistics
      Gets the amount of decompressed bytes returned by the stream.
      Specified by:
      getUncompressedCount in interface InputStreamStatistics
      Returns:
      the amount of decompressed bytes returned by the stream.