public class NullWriter
extends java.io.Writer
| Modifier and Type | Field and Description |
|---|---|
static NullWriter |
DEFAULT |
| Constructor and Description |
|---|
NullWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(char[] cbuf,
int off,
int len) |
public static final NullWriter DEFAULT
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerpublic void flush()
flush in interface java.io.Flushableflush in class java.io.Writerpublic void write(char[] cbuf,
int off,
int len)
write in class java.io.Writer