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