| java.lang.Object | ||
| ↳ | java.io.Reader | |
| ↳ | sun.nio.cs.StreamDecoder | |
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.Reader
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Closes the stream and releases any system resources associated with
it.
| |||||||||||
Reads a single character.
| |||||||||||
Reads characters into a portion of an array.
| |||||||||||
Tells whether this stream is ready to be read.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.Reader
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
java.lang.Readable
| |||||||||||
Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.
| IOException |
|---|
| UnsupportedEncodingException |
|---|
Reads a single character. This method will block until a character is available, an I/O error occurs, or the end of the stream is reached.
Subclasses that intend to support efficient single-character input should override this method.
| IOException |
|---|
Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached.
| cbuf | Destination buffer |
|---|---|
| offset | Offset at which to start storing characters |
| length | Maximum number of characters to read |
| IOException |
|---|
Tells whether this stream is ready to be read.
| IOException |
|---|