com.lucene.analysis
Class Tokenizer
java.lang.Object
|
+--com.lucene.analysis.TokenStream
|
+--com.lucene.analysis.Tokenizer
- Direct Known Subclasses:
- LetterTokenizer, LowerCaseTokenizer, StandardTokenizer
- public abstract class Tokenizer
- extends TokenStream
A Tokenizer is a TokenStream whose input is a Reader.
This is an abstract class.
Field Summary |
protected Reader |
input
The text source for this Tokenizer. |
Method Summary |
void |
close()
By default, closes the input Reader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected Reader input
- The text source for this Tokenizer.
Tokenizer
public Tokenizer()
close
public void close()
throws IOException
- By default, closes the input Reader.
- Overrides:
close
in class TokenStream