- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable
public class NullWriter
extends java.io.Writer
NullWriter is a writer that throws everything away, and never stores anything
anywhere. All functions just return without doing anything. Useful when you
are required to pass a Writer, but you are not interested the output that is
going to the Writer.
Author: Keith Swenson Copyright: Keith Swenson, all rights reserved License:
This code is made available under the GNU Lesser GPL license.