|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.Tokenizer
org.apache.lucene.analysis.util.CharTokenizer
com.atlassian.confluence.search.lucene.tokenizers.GenericCharacterTokenizer
public class GenericCharacterTokenizer
Character tokenizers that tokenizes on a specified list of delimiters.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource |
---|
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State |
Field Summary |
---|
Fields inherited from class org.apache.lucene.analysis.Tokenizer |
---|
input |
Constructor Summary | |
---|---|
GenericCharacterTokenizer(java.io.Reader input,
char[] delimiters)
|
Method Summary | |
---|---|
protected boolean |
isTokenChar(int c)
|
Methods inherited from class org.apache.lucene.analysis.util.CharTokenizer |
---|
end, incrementToken, normalize, reset |
Methods inherited from class org.apache.lucene.analysis.Tokenizer |
---|
close, correctOffset, setReader |
Methods inherited from class org.apache.lucene.util.AttributeSource |
---|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericCharacterTokenizer(java.io.Reader input, char[] delimiters)
input
- what to tokenize passed in as a readerdelimiters
- array of delimiters to tokenize on (you must specify at least one delimiter)
java.lang.IllegalArgumentException
- if no delimiters are specifiedMethod Detail |
---|
protected boolean isTokenChar(int c)
isTokenChar
in class org.apache.lucene.analysis.util.CharTokenizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |