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.Readerpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Readerpublic static java.io.Reader adapt(CharIterator in)
Copyright (c) 2002-2003 - Apache Software Foundation