java.lang.Object | |||
↳ | org.apache.lucene.util.AttributeSource | ||
↳ | org.apache.lucene.analysis.TokenStream | ||
↳ | org.apache.lucene.analysis.TokenFilter |
Known Direct Subclasses |
A TokenFilter is a TokenStream whose input is another TokenStream.
This is an abstract class; subclasses must override incrementToken()
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
input | The source of tokens for this filter. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a token stream filtering the given input.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Close the input TokenStream.
| |||||||||||
Performs end-of-stream operations, if any, and calls then
end() on the
input TokenStream. | |||||||||||
Reset the filter as well as the input TokenStream.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.analysis.TokenStream
| |||||||||||
From class
org.apache.lucene.util.AttributeSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
|
Performs end-of-stream operations, if any, and calls then end()
on the
input TokenStream.
super.end()
first when overriding this method.IOException |
---|