java.io.BufferedReader (class) |
Constructors: |
BufferedReader(Reader i);
BufferedReader(Reader i, int size);
|
General Description: |
This class keeps buffers for improve performance. It does some translation of types for line recognition. size specifies the size of the input buffers. |
Parent Class: |
Reader |
Methods |
void close(); |
Close the channel. |
void mark(int readlimit); |
Set the maximum number of bytes to buffer for mark() and reset(). |
boolean markSupported(); |
Check to see if stream supports mark()/reset(). |
int read(); |
Read a single byte from the stream.int read(byte[] arr, int |
offset, int length); |
Read an array of bytes into arr beginning at offset for length bytes. |
String readLine(); |
Read up to newline and return String. |
boolean ready(); |
Returns true if ready to read. |
void reset(); |
Return to last mark'ed place. |
long skip(long n); |
Skip the number of bytes forward in the stream. |
Exceptions Thrown |
IOException, |