public class NullInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
boolean |
throwException
True if attempting to read from the stream should throw an
IOException. |
| Constructor and Description |
|---|
NullInputStream()
Create an empty null input stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skippublic boolean throwException
IOException.
False to simply return end of file.public int read()
throws IOException
read in class InputStreamIOExceptionBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.