Package org.apache.sshd.common.util.io
Class NullInputStream
java.lang.Object
java.io.InputStream
org.apache.sshd.common.util.io.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, nullInputStream, read, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
open
-
-
Constructor Details
-
NullInputStream
public NullInputStream()
-
-
Method Details
-
isOpen
public boolean isOpen() -
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
reset
- Overrides:
reset
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-