org.apache.regexp
Interface CharacterIterator
- CharacterArrayCharacterIterator, ReaderCharacterIterator, StreamCharacterIterator, StringCharacterIterator
public interface CharacterIterator
Encapsulates different types of character sources - String, InputStream, ...
Defines a set of common methods
CVS $Id: CharacterIterator.java 126148 2004-02-17 13:37:54Z vgritsenko $
charAt
public char charAt(int pos)
- a character at the specified position.
isEnd
public boolean isEnd(int pos)
- true iff if the specified index is after the end of the character stream
substring
public String substring(int beginIndex)
substring
public String substring(int beginIndex,
int endIndex)
Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.