Package org.apache.commons.io.output
Class NullAppendable
java.lang.Object
org.apache.commons.io.output.NullAppendable
- All Implemented Interfaces:
Appendable
Appends all data to the famous /dev/null.
This Appendable has no destination (file/socket etc.) and all characters written to it are ignored and lost.
- Since:
- 2.8.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionappend
(char c) append
(CharSequence csq) append
(CharSequence csq, int start, int end)
-
Field Details
-
INSTANCE
A singleton.
-
-
Method Details
-
append
- Specified by:
append
in interfaceAppendable
- Throws:
IOException
-
append
- Specified by:
append
in interfaceAppendable
- Throws:
IOException
-
append
- Specified by:
append
in interfaceAppendable
- Throws:
IOException
-