public class ClosedInputStream extends InputStreamClosed input stream. This stream returns -1 to all attempts to read something from the stream.
Typically uses of this class include testing for corner cases in methods that accept input streams and acting as a sentinel value instead of a
- Apache Tika 0.4, copied from Commons IO 1.4
Constructors Constructor Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
read()Returns -1 to indicate that the stream is closed.
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo