Build 1.0_r1(from source)

java.lang
Class ReaderInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.lang.ReaderInputStream
All Implemented Interfaces:
Closeable

 class ReaderInputStream
extends InputStream


Constructor Summary
ReaderInputStream(Reader reader)
           
 
Method Summary
 int read()
          Reads a single byte from this InputStream and returns the result as an int.
 
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
 

Constructor Detail

ReaderInputStream

public ReaderInputStream(Reader reader)
Method Detail

read

public int read()
         throws IOException
Description copied from class: InputStream
Reads a single byte from this InputStream and returns the result as an int. The low-order byte is returned or -1 of the end of stream was encountered. This abstract implementation must be provided by concrete subclasses.

Specified by:
read in class InputStream
Returns:
the byte read or -1 if end of stream.
Throws:
IOException - If the stream is already closed or another IOException occurs.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature