A subclass of
java.io.Reader
that you chain to another Reader
class to
buffer characters.
Constructor can specify buffer size
public BufferedReader(Reader in, int bufferSize)
public BufferedReader(Reader in)
Also notable for its readLine()
method
that allows you to read text a line at a time.
public String readLine() throws IOException
readLine()
is still evil!
BufferedReader
s do support marking and resetting, at least
up to the
length of the buffer.