read
Reads a single character.
Return
The character read, or -1 if the end of the stream has been reached
Throws
IOException
If an I/O error occurs
Reads characters into a portion of an array.
If len is zero, then no characters are read and 0 is returned; otherwise, there is an attempt to read at least one character. If no character is available because the stream is at its end, the value -1 is returned; otherwise, at least one character is read and stored into cbuf.
Return
{@inheritDoc}
Parameters
cbuf
{@inheritDoc}
off
{@inheritDoc}
len
{@inheritDoc}
Throws
{@inheritDoc}
IOException
{@inheritDoc}