com.lucene.analysis
Class TokenFilter

java.lang.Object
  |
  +--com.lucene.analysis.TokenStream
        |
        +--com.lucene.analysis.TokenFilter
Direct Known Subclasses:
LowerCaseFilter, PorterStemFilter, StandardFilter, StopFilter

public abstract class TokenFilter
extends TokenStream

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

This is an abstract class.


Field Summary
protected  TokenStream input
          The source of tokens for this filter.
 
Constructor Summary
TokenFilter()
           
 
Method Summary
 void close()
          Close the input TokenStream.
 
Methods inherited from class com.lucene.analysis.TokenStream
next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

protected TokenStream input
The source of tokens for this filter.
Constructor Detail

TokenFilter

public TokenFilter()
Method Detail

close

public void close()
           throws IOException
Close the input TokenStream.
Overrides:
close in class TokenStream