站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byjava.io.InputStream
      extended byorg.openide.util.io.NullInputStream

public class NullInputStream
extends InputStream

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

throwException

public boolean throwException
True if attempting to read from the stream should throw an IOException. False to simply return end of file.

Constructor Detail

NullInputStream

public NullInputStream()
Create an empty null input stream.

Method Detail

read

public int read()
         throws IOException
Throws:
IOException

 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.