org.apache.lucene.search.highlight
public final class OffsetLimitTokenFilter extends org.apache.lucene.analysis.TokenFilter
| Constructor and Description |
|---|
OffsetLimitTokenFilter(org.apache.lucene.analysis.TokenStream input,
int offsetLimit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken() |
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic OffsetLimitTokenFilter(org.apache.lucene.analysis.TokenStream input,
int offsetLimit)
public boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class org.apache.lucene.analysis.TokenFilterIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.