org.apache.commons.io.output
public class NullWriter extends Writer
This Writer has no destination (file/socket etc.) and all
characters written to it are ignored and lost.
Version: $Id: NullWriter.java 462832 2006-10-11 15:48:09Z scolebourne $
| Constructor Summary | |
|---|---|
| NullWriter()
Constructs a new NullWriter. | |
| Method Summary | |
|---|---|
| void | close() |
| void | flush() |
| void | write(int idx) |
| void | write(char[] chr) |
| void | write(char[] chr, int st, int end) |
| void | write(String str) |
| void | write(String str, int st, int end) |
See Also: java.io.Writer#close()
See Also: java.io.Writer#flush()
See Also: java.io.Writer#write(int)
See Also: java.io.Writer#write(char[])
See Also: java.io.Writer#write(char[], int, int)
See Also: java.io.Writer#write(String)
See Also: java.io.Writer#write(String, int, int)