public final class AlphaNumericFilter extends AbstractTokenizingFilter
| term | results in |
|---|---|
| bob | bob |
| bob-cat | bob cat |
| #$% | [skipped] |
| Constructor and Description |
|---|
AlphaNumericFilter(org.apache.lucene.analysis.TokenStream stream)
Constructs a new AlphaNumericFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
incrementToken() |
void |
reset() |
addTerm, getTermAtt, getTokensaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic AlphaNumericFilter(org.apache.lucene.analysis.TokenStream stream)
stream - the TokenStream that this filter will processpublic boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class AbstractTokenizingFilterIOExceptionpublic void end()
throws IOException
end in class org.apache.lucene.analysis.TokenFilterIOExceptionpublic int hashCode()
hashCode in class org.apache.lucene.util.AttributeSourcepublic boolean equals(Object obj)
equals in class org.apache.lucene.util.AttributeSourceCopyright © 2012–2020 OWASP. All rights reserved.