public final class DevNull extends Writer
| Constructor and Description |
|---|
DevNull() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
static Writer |
getInstance() |
void |
write(char[] cbuf,
int off,
int len) |
public static Writer getInstance()
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 Closeableclose in interface AutoCloseableclose in class WriterIOException