Class CountingWriter

All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class CountingWriter extends WrappedWriter
A wrapper around an Writer that counts the number of read chars.
Since:
9.3.8
Author:
Philip Helger
  • Constructor Details

    • CountingWriter

      public CountingWriter(@NonNull Writer aSourceOS)
      Constructor wrapping the given writer.
      Parameters:
      aSourceOS - The writer to be wrapped. May not be null.
  • Method Details