java.lang
public interface: Readable [javadoc |
source]
All Known Implementing Classes:
FilterReader, PipedReader, LineReader, PushbackReader, StringReader, LineNumberReader, FileReader, InputStreamReader, BufferedReader, Reader, CharArrayReader
A
Readable is a source of characters. Characters from
a
Readable are made available to callers of the read
method via a
CharBuffer .
| Method from java.lang.Readable Summary: |
|---|
|
read |
| Method from java.lang.Readable Detail: |
public int read(CharBuffer cb) throws IOException
Attempts to read characters into the specified character buffer.
The buffer is used as a repository of characters as-is: the only
changes made are the results of a put operation. No flipping or
rewinding of the buffer is performed. |