|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Reader
org.apache.commons.collections.primitives.adapters.io.CharIteratorReader
public class CharIteratorReader
Adapts a CharIterator
to the Reader
interface.
Field Summary |
---|
Fields inherited from class java.io.Reader |
---|
lock |
Constructor Summary | |
---|---|
CharIteratorReader(CharIterator in)
|
Method Summary | |
---|---|
static java.io.Reader |
adapt(CharIterator in)
|
void |
close()
|
int |
read(char[] buf,
int off,
int len)
|
Methods inherited from class java.io.Reader |
---|
mark, markSupported, read, read, read, ready, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharIteratorReader(CharIterator in)
Method Detail |
---|
public int read(char[] buf, int off, int len)
read
in class java.io.Reader
public void close()
close
in interface java.io.Closeable
close
in class java.io.Reader
public static java.io.Reader adapt(CharIterator in)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |