public class CountingWriter extends FilterWriter
out| Constructor and Description |
|---|
CountingWriter(Writer out) |
| Modifier and Type | Method and Description |
|---|---|
void |
reset() |
long |
size() |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(String str,
int off,
int len) |
close, flushpublic CountingWriter(Writer out)
public long size()
public void reset()
public void write(int c)
throws IOException
write in class FilterWriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class FilterWriterIOExceptionpublic void write(String str, int off, int len) throws IOException
write in class FilterWriterIOExceptionCopyright © 2018. All rights reserved.