Closeable
, AutoCloseable
public final class CannedTokenStream
extends org.apache.lucene.analysis.TokenStream
Constructor | Description |
---|---|
CannedTokenStream(org.apache.lucene.analysis.Token... tokens) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
incrementToken() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public CannedTokenStream(org.apache.lucene.analysis.Token... tokens)
public boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.