Closeable, Flushable, Appendable, AutoCloseableprivate static class RoutablePrintWriter.NullWriter extends Writer
| Modifier | Constructor | Description |
|---|---|---|
protected |
NullWriter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
void |
write(char[] cbuf,
int off,
int len) |
public void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class WriterIOException