@Deprecated public abstract class Lucene43FilteringTokenFilter extends TokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
Lucene43FilteringTokenFilter(boolean enablePositionIncrements,
TokenStream input)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
accept()
Deprecated.
Override this method and return if the current input token should be returned by
incrementToken(). |
boolean |
incrementToken()
Deprecated.
|
void |
reset()
Deprecated.
|
close, endaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic Lucene43FilteringTokenFilter(boolean enablePositionIncrements,
TokenStream input)
protected abstract boolean accept()
throws IOException
incrementToken().IOExceptionpublic final boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class TokenFilterIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.