@Deprecated public abstract class Lucene43FilteringTokenFilter extends TokenFilter
AttributeSource.State
input
DEFAULT_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, end
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public Lucene43FilteringTokenFilter(boolean enablePositionIncrements, TokenStream input)
protected abstract boolean accept() throws IOException
incrementToken()
.IOException
public final boolean incrementToken() throws IOException
incrementToken
in class TokenStream
IOException
public void reset() throws IOException
reset
in class TokenFilter
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.