public class ClosedInputStream extends InputStream
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
null input stream.
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns -1 to indicate that the stream is closed.
available, close, mark, markSupported, read, read, reset, skip
public int read()
Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.