Class CountingInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.compress.utils.CountingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

Deprecated.
Input stream that tracks the number of bytes read.
Since:
1.3
This class is not thread-safe
  • Constructor Details Link icon

    • CountingInputStream Link icon

      Deprecated.
      Creates a CountingInputStream by assigning the argument in to the field this.in so as to remember it for later use.
      Parameters:
      in - the underlying input stream, or null if this instance is to be created without an underlying stream.
  • Method Details Link icon