org.apache.commons.collections.primitives.adapters.io
public class CharIteratorReader extends java.io.Reader
CharIterator
to the Reader
interface.Modifier and Type | Field and Description |
---|---|
private CharIterator |
iterator |
Constructor and Description |
---|
CharIteratorReader(CharIterator in) |
Modifier and Type | Method and Description |
---|---|
static java.io.Reader |
adapt(CharIterator in) |
void |
close() |
int |
read(char[] buf,
int off,
int len) |
private CharIterator iterator
public CharIteratorReader(CharIterator in)
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)
Copyright (c) 2002-2003 - Apache Software Foundation