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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Writer
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.Writer
public void write(char[] cbuf, int off, int len)
write
in class java.io.Writer