Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.regexp
Interface CharacterIterator

All Known Implementing Classes:
  CharacterArrayCharacterIterator, ReaderCharacterIterator, StreamCharacterIterator, StringCharacterIterator

public interface CharacterIterator

Encapsulates different types of character sources - String, InputStream, ... Defines a set of common methods

Author:
  Ales Novak

Method Summary
`char` | `charAt(int pos)`
`boolean` | `isEnd(int pos)`
`String` | `substring(int offset)`
`String` | `substring(int offset, int length)`

Method Detail

### substring

    public String substring(int offset,
                            int length)

  Returns:
    a substring

### substring

    public String substring(int offset)

  Returns:
    a substring

### charAt

    public char charAt(int pos)

  Returns:
    a character at the specified position.

### isEnd

    public boolean isEnd(int pos)

  Returns:
    `true` iff if the specified index is after the end of the character stream

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD