org.apache.lucene.queryParser.surround.parser
public final class FastCharStream extends Object implements CharStream
Note that this does not do line-number counting, but instead keeps track of the character position of the token in the input, as required by Lucene's {@link org.apache.lucene.analysis.Token} API.
Constructor Summary | |
---|---|
FastCharStream(Reader r) Constructs from a Reader. |
Method Summary | |
---|---|
void | backup(int amount) |
char | BeginToken() |
void | Done() |
int | getBeginColumn() |
int | getBeginLine() |
int | getColumn() |
int | getEndColumn() |
int | getEndLine() |
int | getLine() |
String | GetImage() |
char[] | GetSuffix(int len) |
char | readChar() |