当前页面:
在线文档首页 >
NetBeans API Javadoc 5.0.0
NullInputStream (NetBeans Utilities API) - NetBeans API Javadoc 5.0.0
org.openide.util.io
Class NullInputStream
java.lang.Object
java.io.InputStream
org.openide.util.io.NullInputStream
- public class NullInputStream
- extends InputStream
Input stream that is always empty.
Method Summary |
int |
read()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
throwException
public boolean throwException
- True if attempting to read from the stream should throw an
IOException
.
False to simply return end of file.
NullInputStream
public NullInputStream()
- Create an empty null input stream.
read
public int read()
throws IOException
- Throws:
IOException