Class NullOutputStream
java.lang.Object
java.io.OutputStream
com.twelvemonkeys.io.NullOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
An
OutputStream implementation that works as a sink.- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/io/NullOutputStream.java#2 $
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
close, flush, nullOutputStream
-
Constructor Details
-
NullOutputStream
public NullOutputStream()Creates aNullOutputStream.
-
-
Method Details
-
write
This implementation does nothing.- Specified by:
writein classOutputStream- Throws:
IOException
-
write
This implementation does nothing.- Overrides:
writein classOutputStream- Throws:
IOException
-
write
This implementation does nothing.- Overrides:
writein classOutputStream- Throws:
IOException
-