|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.analysis.TeeSinkTokenFilter.SinkFilter
public abstract static class TeeSinkTokenFilter.SinkFilter
A filter that decides which AttributeSource
states to store in the sink.
Constructor Summary | |
---|---|
TeeSinkTokenFilter.SinkFilter()
|
Method Summary | |
---|---|
abstract boolean |
accept(AttributeSource source)
Returns true, iff the current state of the passed-in AttributeSource shall be stored
in the sink. |
void |
reset()
Called by TeeSinkTokenFilter.SinkTokenStream.reset() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TeeSinkTokenFilter.SinkFilter()
Method Detail |
---|
public abstract boolean accept(AttributeSource source)
AttributeSource
shall be stored
in the sink.
public void reset() throws java.io.IOException
TeeSinkTokenFilter.SinkTokenStream.reset()
. This method does nothing by default
and can optionally be overridden.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |