org.apache.lucene.analysis

Class TokenFilter

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 TokenStreaminput
The source of tokens for this filter.
Constructor Summary
protected TokenFilter()
Call TokenFilter(TokenStream) instead.
protected TokenFilter(TokenStream input)
Construct a token stream filtering the given input.
Method Summary
voidclose()
Close the input TokenStream.

Field Detail

input

protected TokenStream input
The source of tokens for this filter.

Constructor Detail

TokenFilter

protected TokenFilter()

Deprecated:

Call TokenFilter(TokenStream) instead.

TokenFilter

protected TokenFilter(TokenStream input)
Construct a token stream filtering the given input.

Method Detail

close

public void close()
Close the input TokenStream.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.