read
Reads a single character.
Return
The character read, as an integer in the range 0 to 65535 (0x00-0xffff), or -1 if the end of the stream has been reached.
Throws
If an I/O error occurs.
Reads characters into a portion of an array.
Return
The number of characters read, or -1 if the end of the stream has been reached.
Parameters
cbuf
The destination buffer.
off
The offset at which to start storing characters.
len
The maximum number of characters to read.
Throws
If an I/O error occurs.
Reads characters into a CharBuffer.
Return
The number of characters read, or -1 if the end of the stream has been reached.
Parameters
b
The CharBuffer to read characters into.
Throws
If an I/O error occurs.