public class NullWriter extends Writer
Writer that discards all input :)| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
static NullWriter |
getInstance() |
void |
write(char[] cbuf,
int off,
int len) |
@Nonnull public static NullWriter 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 WriterIOExceptionCopyright © 2013–2015 Philip Helger. All rights reserved.