org.apache.lucene.analysis
Class KeywordTokenizer
java.lang.Object
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.Tokenizer
org.apache.lucene.analysis.KeywordTokenizer
- public class KeywordTokenizer
- extends Tokenizer
Emits the entire input as a single token.
Fields inherited from class org.apache.lucene.analysis.Tokenizer |
input |
Method Summary |
Token |
next()
Returns the next token in the stream, or null at EOS. |
Methods inherited from class org.apache.lucene.analysis.Tokenizer |
close |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeywordTokenizer
public KeywordTokenizer(Reader input)
KeywordTokenizer
public KeywordTokenizer(Reader input,
int bufferSize)
next
public Token next()
throws IOException
- Description copied from class:
TokenStream
- Returns the next token in the stream, or null at EOS.
- Specified by:
next
in class TokenStream
- Throws:
IOException
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.