|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
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
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.