public final class StreamCharacterIterator extends Object implements CharacterIterator
Constructor and Description |
---|
StreamCharacterIterator(InputStream is) |
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 StreamCharacterIterator(InputStream is)
is
- an InputStream, 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