java.io
Class InputStreamReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--java.io.InputStreamReader
Direct Known Subclasses:
FileReader

public synchronized class InputStreamReader
extends Reader


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
InputStreamReader(InputStream)
           
InputStreamReader(InputStream, java.nio.charset.Charset)
           
InputStreamReader(InputStream, java.nio.charset.CharsetDecoder)
           
InputStreamReader(InputStream, String)
           
 
Method Summary
 void close()
           
 String getEncoding()
           
 int read()
           
 int read(char[], int, int)
           
 boolean ready()
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

InputStreamReader

public InputStreamReader(InputStream)

InputStreamReader

public InputStreamReader(InputStream,
                         String)
                  throws UnsupportedEncodingException

InputStreamReader

public InputStreamReader(InputStream,
                         java.nio.charset.Charset)

InputStreamReader

public InputStreamReader(InputStream,
                         java.nio.charset.CharsetDecoder)
Method Detail

getEncoding

public String getEncoding()

read

public int read()
         throws IOException
Overrides:
read in class Reader
IOException

read

public int read(char[],
                int,
                int)
         throws IOException
Specified by:
read in class Reader
IOException

ready

public boolean ready()
              throws IOException
Overrides:
ready in class Reader
IOException

close

public void close()
           throws IOException
Specified by:
close in class Reader
IOException