org.apache.lucene.analysis.standard
Class FastCharStream
java.lang.Object
org.apache.lucene.analysis.standard.FastCharStream
- CharStream
public final class FastCharStream
extends java.lang.Object
An efficient implementation of JavaCC's CharStream interface.
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
Token
API.
FastCharStream
public FastCharStream(Reader r)
Constructs from a Reader.
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.