? ClosedWriter

java.lang.Object
java.io.Writer
org.apache.commons.io.output.ClosedWriter
????????:
Closeable, Flushable, Appendable, AutoCloseable

public class ClosedWriter extends Writer
Throws an exception on all attempts to write with close() implemented as a noop.

Typically uses of this class include testing for corner cases in methods that accept a writer and acting as a sentinel value instead of a null writer.

???????:
2.7