|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Readable
A Readable is a source of characters. Characters from
a Readable are made available to callers of the read
method via a CharBuffer
.
Method Summary | |
---|---|
int |
read(CharBuffer cb)
Attempts to read characters into the specified character buffer. |
Method Detail |
---|
int read(CharBuffer cb) throws IOException
cb
- the buffer to read characters into
IOException
- if an I/O error occurs
NullPointerException
- if cb is null
ReadOnlyBufferException
- if cb is a read only buffer
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.