org.apache.lucene.spatial.util
Class StringListTokenizer
java.lang.Object
org.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
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
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 |
StringListTokenizer
public StringListTokenizer(Iterable<String> tokens)
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.