Class CountingOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.commons.compress.utils.CountingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

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

    • CountingOutputStream

      Deprecated.
      Creates a CountingOutputStream filter built on top of the specified underlying output stream.
      Parameters:
      out - the underlying output stream to be assigned to the field this.out for later use, or null if this instance is to be created without an underlying stream.
  • Method Details