org.apache.lucene.analysis.sinks
Class TeeSinkTokenFilter.SinkTokenStream

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by org.apache.lucene.analysis.sinks.TeeSinkTokenFilter.SinkTokenStream
All Implemented Interfaces:
Closeable
Enclosing class:
TeeSinkTokenFilter

public static final class TeeSinkTokenFilter.SinkTokenStream
extends TokenStream

TokenStream output from a tee with optional filtering.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
AttributeSource.AttributeFactory, AttributeSource.State
 
Method Summary
 void end()
           
 boolean incrementToken()
           
 void reset()
           
 
Methods inherited from class org.apache.lucene.analysis.TokenStream
close
 
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

incrementToken

public final boolean incrementToken()
                             throws IOException
Specified by:
incrementToken in class TokenStream
Throws:
IOException

end

public final void end()
               throws IOException
Overrides:
end in class TokenStream
Throws:
IOException

reset

public final void reset()
Overrides:
reset in class TokenStream


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.