org.opensolaris.opengrok.analysis
Class Hash2TokenStream

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by org.opensolaris.opengrok.analysis.Hash2TokenStream
All Implemented Interfaces:
java.io.Closeable

public final class Hash2TokenStream
extends org.apache.lucene.analysis.TokenStream


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

Constructor Detail

Hash2TokenStream

public Hash2TokenStream(java.util.Set<java.lang.String> symbols)
Method Detail

incrementToken

public boolean incrementToken()
                       throws java.io.IOException
Specified by:
incrementToken in class org.apache.lucene.analysis.TokenStream
Throws:
java.io.IOException

close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class org.apache.lucene.analysis.TokenStream