public final class ReaderCharacterIterator extends Object implements CharacterIterator
Constructor and Description |
---|
ReaderCharacterIterator(Reader reader) |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int pos) |
boolean |
isEnd(int pos) |
String |
substring(int beginIndex) |
String |
substring(int beginIndex,
int endIndex) |
public ReaderCharacterIterator(Reader reader)
reader
- a Reader, which is parsedpublic char charAt(int pos)
charAt
in interface CharacterIterator
public boolean isEnd(int pos)
isEnd
in interface CharacterIterator
public String substring(int beginIndex)
substring
in interface CharacterIterator
public String substring(int beginIndex, int endIndex)
substring
in interface CharacterIterator