Class 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
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getCompressedCount()
      Gets the amount of raw or compressed bytes read by the stream.
      long getUncompressedCount()
      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
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

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

      • StoredStatisticsStream

        StoredStatisticsStream​(java.io.InputStream in)
    • Method Detail

      • 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.