Class CtanTokenizer
java.lang.Object
org.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.Tokenizer
org.ctan.site.services.search.base.CtanTokenizer
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class CtanTokenizer
extends org.apache.lucene.analysis.Tokenizer
This tokenizer knows a little bit of TeX.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
org.apache.lucene.util.AttributeSource.State -
Field Summary
Fields inherited from class org.apache.lucene.analysis.Tokenizer
inputFields inherited from class org.apache.lucene.analysis.TokenStream
DEFAULT_TOKEN_ATTRIBUTE_FACTORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanOverwritten to make SpotBugs happy.inthashCode()Overwritten to make SpotBugs happy.booleanMethods inherited from class org.apache.lucene.analysis.Tokenizer
close, correctOffset, reset, setReader, setReaderTestPointMethods inherited from class org.apache.lucene.analysis.TokenStream
endMethods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
-
Constructor Details
-
CtanTokenizer
Creates a new object.- Parameters:
reader- the reader
-
-
Method Details
-
equals
Overwritten to make SpotBugs happy.- Overrides:
equalsin classorg.apache.lucene.util.AttributeSource- See Also:
-
hashCode
public int hashCode()Overwritten to make SpotBugs happy.- Overrides:
hashCodein classorg.apache.lucene.util.AttributeSource- See Also:
-
incrementToken
- Specified by:
incrementTokenin classorg.apache.lucene.analysis.TokenStream- Throws:
IOException- See Also:
-