Class CountingOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.google.common.io.CountingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

@Beta @Deprecated(since="2022-12-01") public final class CountingOutputStream extends FilterOutputStream
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
An OutputStream that counts the number of bytes written.
Since:
1.0
  • Constructor Details

    • CountingOutputStream

      public CountingOutputStream(@Nullable OutputStream out)
      Deprecated.
      Wraps another output stream, counting the number of bytes written.
      Parameters:
      out - the output stream to be wrapped
  • Method Details