Package org.glassfish.common.util.io
Class EmptyInputStream
java.lang.Object
java.io.InputStream
org.glassfish.common.util.io.EmptyInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
Input stream which doesn't contain anything.
- Author:
- David Matejcek
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
close, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
EmptyInputStream
public EmptyInputStream()
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-