org.apache.lucene.spatial.util
Class StringListTokenizer

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by org.apache.lucene.spatial.util.StringListTokenizer
All Implemented Interfaces:
Closeable

public final class StringListTokenizer
extends TokenStream

Put a list of strings directly into the token stream


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
AttributeSource.AttributeFactory, AttributeSource.State
 
Constructor Summary
StringListTokenizer(Iterable<String> tokens)
           
 
Method Summary
 boolean incrementToken()
           
 void reset()
           
 
Methods inherited from class org.apache.lucene.analysis.TokenStream
close, end
 
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
 

Constructor Detail

StringListTokenizer

public StringListTokenizer(Iterable<String> tokens)
Method Detail

incrementToken

public boolean incrementToken()
Specified by:
incrementToken in class TokenStream

reset

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


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