Reader Members

Reader Members

Class Overview | This Package | All Packages

Fields
Name Description
lock The object used to synchronize operations on this stream.

Constructors
Name Description
Reader() Create a new character-stream reader whose critical sections will synchronize on the reader itself.
Reader(Object) Create a new character-stream reader whose critical sections will synchronize on the given object.

Methods
Name Description
close() Close the stream.
mark(int) Mark the present position in the stream.
markSupported() Tell whether this stream supports the mark() operation.
read() Read a single character.
read(char[]) Read characters into an array.
read(char[], int, int) Read characters into a portion of an array.
ready() Tell whether this stream is ready to be read.
reset() Reset the stream.
skip(long) Skip characters.