Package com.twelvemonkeys.io
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 java.io.OutputStream
close, flush, nullOutputStream
-
Constructor Details
-
NullOutputStream
public NullOutputStream()Creates aNullOutputStream
.
-
-
Method Details
-
write
This implementation does nothing.- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
This implementation does nothing.- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
This implementation does nothing.- Overrides:
write
in classOutputStream
- Throws:
IOException
-