Class NullOutputStream
java.lang.Object
java.io.OutputStream
org.apache.sshd.common.util.io.output.NullOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,Channel
A {code /dev/null} output stream
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
write
-
Field Details
-
open
-
-
Constructor Details
-
NullOutputStream
public NullOutputStream()
-
-
Method Details
-
isOpen
public boolean isOpen() -
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 interfaceChannel- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-