Known Indirect Subclasses
BufferedReader,
CharArrayReader,
CharBuffer,
FileReader,
FilterReader,
InputStreamReader,
LineNumberReader,
PipedReader,
PushbackReader,
Reader,
StringReader
|
Class Overview
Represents a sequence of characters that can be incrementally read (copied)
into a CharBuffer
.
Summary
Public Methods |
abstract
int
|
read(CharBuffer cb)
Reads characters into the specified CharBuffer .
|
Public Methods
public
abstract
int
read
(CharBuffer cb)
Reads characters into the specified CharBuffer
. The maximum
number of characters read is CharBuffer.remaining()
.
Parameters
cb
| the buffer to be filled with characters read. |
Returns
- the number of characters actually read, or -1 if this
Readable
reaches its end