java.io
Class BufferedReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.BufferedReader
All Implemented Interfaces:
Closeable, AutoCloseable

public class BufferedReader
extends Reader


Constructor Summary
BufferedReader(Reader reader)
           
BufferedReader(Reader reader, int size)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(char[] cbuf, int off, int len)
           
 String readLine()
           
 boolean ready()
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedReader

public BufferedReader(Reader reader)

BufferedReader

public BufferedReader(Reader reader,
                      int size)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface AutoCloseable
Specified by:
close in class Reader
Throws:
IOException

read

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

read

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

ready

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

readLine

public String readLine()
                throws IOException
Throws:
IOException