public final class IntMetaDataTokenStream
extends org.apache.lucene.analysis.TokenStream
| Constructor and Description |
|---|
IntMetaDataTokenStream(String tokenText) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken()
Return the single token created.
|
void |
setMetaData(int[] data)
sets meta data
|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic IntMetaDataTokenStream(String tokenText)
public void setMetaData(int[] data)
data - array of integer metadata indexed by section idpublic boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionCopyright © 2005–2013. All rights reserved.