Class NullOutputStream

java.lang.Object
java.io.OutputStream
org.apache.commons.io.output.NullOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class NullOutputStream extends OutputStream
Never writes data. Calls never go beyond this class.

This output stream has no destination (file/socket etc.) and all bytes written to it are ignored and lost.