java.io
Class BufferedReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
- All Implemented Interfaces:
- Closeable, AutoCloseable
public class BufferedReader
- extends Reader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedReader
public BufferedReader(Reader reader)
BufferedReader
public BufferedReader(Reader reader,
int size)
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