org.apache.abdera.util.io
Class FilterCodepointIterator
java.lang.Object
org.apache.abdera.util.io.CodepointIterator
org.apache.abdera.util.io.FilterCodepointIterator
- Direct Known Subclasses:
- RestrictedCodepointIterator
public abstract class FilterCodepointIterator
- extends CodepointIterator
Base implementation of a CodepointIterator that filters the output of
another CodpointIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterCodepointIterator
protected FilterCodepointIterator(CodepointIterator internal)
get
protected char get()
- Specified by:
get
in class CodepointIterator
get
protected char get(int index)
- Specified by:
get
in class CodepointIterator
hasNext
public boolean hasNext()
- Overrides:
hasNext
in class CodepointIterator
isHigh
public boolean isHigh(int index)
- Overrides:
isHigh
in class CodepointIterator
isLow
public boolean isLow(int index)
- Overrides:
isLow
in class CodepointIterator
limit
public int limit()
- Overrides:
limit
in class CodepointIterator
next
public int next()
throws InvalidCharacterException
- Overrides:
next
in class CodepointIterator
- Throws:
InvalidCharacterException
nextChars
public char[] nextChars()
throws InvalidCharacterException
- Overrides:
nextChars
in class CodepointIterator
- Throws:
InvalidCharacterException
peek
public int peek()
throws InvalidCharacterException
- Overrides:
peek
in class CodepointIterator
- Throws:
InvalidCharacterException
peek
public int peek(int index)
throws InvalidCharacterException
- Overrides:
peek
in class CodepointIterator
- Throws:
InvalidCharacterException
peekChars
public char[] peekChars()
throws InvalidCharacterException
- Overrides:
peekChars
in class CodepointIterator
- Throws:
InvalidCharacterException
position
public int position()
- Overrides:
position
in class CodepointIterator
remaining
public int remaining()
- Overrides:
remaining
in class CodepointIterator
position
public void position(int position)
- Overrides:
position
in class CodepointIterator