|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
org.openide.util.io.NullInputStream
public class NullInputStream
Input stream that is always empty.
| Field Summary | |
|---|---|
boolean |
throwException
True if attempting to read from the stream should throw an IOException. |
| Constructor Summary | |
|---|---|
NullInputStream()
Create an empty null input stream. |
|
| Method Summary | |
|---|---|
int |
read()
|
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean throwException
IOException.
False to simply return end of file.
| Constructor Detail |
|---|
public NullInputStream()
| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||