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

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

Introduction

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

The text is from its open source code.

Subclass

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

Implementation

java.io.Reader has the following implementations.
Click this link to see all its implementation.

Constructor

Reader()
Creates a new character-stream reader whose critical sections will synchronize on the reader itself.

Method

voidclose()
Closes the stream and releases any system resources associated with it.
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
voidmark(int readAheadLimit)
Marks the present position in the stream.
booleanmarkSupported()
Tells whether this stream supports the mark() operation.
intread()
Reads a single character.
intread(java.nio.CharBuffer target)
Attempts to read characters into the specified character buffer.
intread(char cbuf[])
Reads characters into an array.
intread(char cbuf[], int off, int len)
Reads characters into a portion of an array.
booleanready()
Tells whether this stream is ready to be read.
voidreset()
Resets the stream.
longskip(long n)
Skips characters.
StringtoString()
Returns a string representation of the object.