public final class TrimFilter
extends org.apache.lucene.analysis.TokenFilter
Modifier and Type | Field and Description |
---|---|
private org.apache.lucene.analysis.tokenattributes.OffsetAttribute |
offsetAtt |
private org.apache.lucene.analysis.tokenattributes.CharTermAttribute |
termAtt |
(package private) boolean |
updateOffsets |
Constructor and Description |
---|
TrimFilter(org.apache.lucene.analysis.TokenStream in,
boolean updateOffsets) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
final boolean updateOffsets
private final org.apache.lucene.analysis.tokenattributes.CharTermAttribute termAtt
private final org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAtt