Class NullInputStream
java.lang.Object
java.io.InputStream
org.apache.sshd.common.util.io.input.NullInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel
A
/dev/null input stream-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, read
-
Field Details
-
open
-
-
Constructor Details
-
NullInputStream
public NullInputStream()
-
-
Method Details
-
isOpen
public boolean isOpen() -
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-