Class EmptyInputStream
java.lang.Object
java.io.InputStream
org.apache.sshd.common.util.io.input.EmptyInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
CloseableEmptyInputStream
A
/dev/null implementation - always open-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
close, markSupported, read
-
Field Details
-
DEV_NULL
-
-
Constructor Details
-
EmptyInputStream
public EmptyInputStream()
-
-
Method Details
-
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
-
mark
public void mark(int readlimit) - Overrides:
markin classInputStream
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-