Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » analysis » [javadoc | source]
org.apache.lucene.analysis
abstract public class: TokenFilter [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.TokenStream
      org.apache.lucene.analysis.TokenFilter

Direct Known Subclasses:
    ElisionFilter, EdgeNGramTokenFilter, LengthFilter, SnowballFilter, SynonymTokenFilter, StandardFilter, QPTestFilter, GreekLowerCaseFilter, NGramTokenFilter, LowerCaseFilter, TokenOffsetPayloadTokenFilter, NumericPayloadTokenFilter, RussianLowerCaseFilter, ISOLatin1AccentFilter, DutchStemFilter, CachingTokenFilter, TeeTokenFilter, PorterStemFilter, FrenchStemFilter, BrazilianStemFilter, TypeAsPayloadTokenFilter, GermanStemFilter, RussianStemFilter, StopFilter, ThaiWordFilter, ChineseFilter

A TokenFilter is a TokenStream whose input is another token stream.

This is an abstract class. NOTE: subclasses must override at least one of #next() or #next(Token) .
Field Summary
protected  TokenStream input    The source of tokens for this filter. 
Constructor:
 protected TokenFilter(TokenStream input) 
    Construct a token stream filtering the given input.
Method from org.apache.lucene.analysis.TokenFilter Summary:
close
Methods from org.apache.lucene.analysis.TokenStream:
close,   next,   next,   reset
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.TokenFilter Detail:
 public  void close() throws IOException 
    Close the input TokenStream.