protected static final class AbstractSplit.CountingWriter extends ProxyWriter
out| Modifier and Type | Method and Description |
|---|---|
(package private) PrintWriter |
asPrintWriter()
Return this counting writer wrapped in a PrintWriter.
|
protected void |
beforeWrite(int n) |
(package private) long |
getCount()
Return the count of
chars written to the writer
proxied by this counting writer. |
afterWrite, append, append, append, close, flush, handleIOException, write, write, write, write, writeprotected void beforeWrite(int n)
beforeWrite in class ProxyWriterlong getCount()
chars written to the writer
proxied by this counting writer. Note the number of chars
written to the writer is not necessarily number of bytes written to disk.chars written to the writer
proxied by this counting writerPrintWriter asPrintWriter()
Copyright (c) 2013-2023 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).