PushbackReader.read
Class Overview | Class Members |
This Package |
All Packages
public int read() throws IOException
Returns
The character read, or -1 if the end of the stream has been
reached
Description
Read a single character.
Exceptions
IOException
If an I/O error occurs
Overrides
read in class FilterReader
public int read( char cbuf[],
int off,
int len ) throws IOException
Parameters
- cbuf
- Destination buffer
- off
- Offset at which to start writing characters
- len
- Maximum number of characters to read
Returns
The number of characters read, or -1 if the end of the
stream has been reached
Description
Read characters into a portion of an array.
Exceptions
IOException
If an I/O error occurs
Overrides
read in class FilterReader