public final class AnyCharTokenizer
extends org.apache.lucene.analysis.Tokenizer
Constructor and Description |
---|
AnyCharTokenizer()
Construct a new AnyCharTokenizer.
|
AnyCharTokenizer(org.apache.lucene.util.AttributeFactory factory)
Construct a new AnyCharTokenizer using a given
AttributeFactory . |
Modifier and Type | Method and Description |
---|---|
void |
end() |
boolean |
incrementToken() |
protected boolean |
isTokenChar(int c)
Collects any characters.
|
protected int |
normalize(int c) |
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
public AnyCharTokenizer()
public AnyCharTokenizer(org.apache.lucene.util.AttributeFactory factory)
AttributeFactory
.factory
- the attribute factory to use for this Tokenizer
protected boolean isTokenChar(int c)
protected int normalize(int c)
public boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException
public void end() throws IOException
end
in class org.apache.lucene.analysis.TokenStream
IOException
public void reset() throws IOException
reset
in class org.apache.lucene.analysis.Tokenizer
IOException