Package overit.geocall.util
Class NullOutputStream
java.lang.Object
java.io.OutputStream
overit.geocall.util.NullOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
This class is an implementation of
OutputStream that implements all methods in such
a way that they have no effect, that they do not write, flush or close-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
NullOutputStream
public NullOutputStream()Main constructor, creates a NullOutputStream object
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-