Class CountingQuietWriter

All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class CountingQuietWriter extends QuietWriter
Counts the number of bytes written.
Since:
0.8.1
Author:
Heinz Richter, heinz.richter@frogdot.com
  • Field Details

    • count

      protected long count
  • Constructor Details

  • Method Details

    • write

      public void write(String string)
      Overrides:
      write in class QuietWriter
    • getCount

      public long getCount()
    • setCount

      public void setCount(long count)