| java.lang.Readable
All known Subclasses: java.io.Reader, java.nio.CharBuffer,
Readable | public interface Readable (Code) | | Readable marks that the implementing class provides character sequence.
Readable gives a reference to character sequence from within itself to caller
through a CharBuffer parameter of the read
method.
|
Method Summary | |
int | read(CharBuffer cb) Reads the characters into the given CharBuffer . |
read | int read(CharBuffer cb) throws IOException(Code) | | Reads the characters into the given CharBuffer . The
maximum number of characters read is CharBuffer.remaining() .
Parameters: cb - the buffer to be filled in by the characters read the number of characters actually read, or -1 if thisReadable reaches its end throws: IOException - if some I/O operations fail |
|
|