Java java.io BufferedReader fields, constructors, methods, implement or subclass

Example usage for Java java.io BufferedReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io BufferedReader.

The text is from its open source code.

Subclass

java.io.BufferedReader has subclasses.
Click this link to see all its subclasses.

Constructor

BufferedReader(Reader in)
Creates a buffering character-input stream that uses a default-sized input buffer.
BufferedReader(Reader in, int sz)
Creates a buffering character-input stream that uses an input buffer of the specified size.

Method

voidclose()
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
Streamlines()
Returns a Stream , the elements of which are lines read from this BufferedReader .
voidmark(int readAheadLimit)
Marks the present position in the stream.
booleanmarkSupported()
Tells whether this stream supports the mark() operation, which it does.
intread()
Reads a single character.
intread(char cbuf[], int off, int len)
Reads characters into a portion of an array.
intread(java.nio.CharBuffer target)
Attempts to read characters into the specified character buffer.
StringreadLine()
Reads a line of text.
booleanready()
Tells whether this stream is ready to be read.
voidreset()
Resets the stream to the most recent mark.
longskip(long n)
Skips characters.
StringtoString()
Returns a string representation of the object.