public final class TruncateTokenFilter extends TokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORYDEFAULT_ATTRIBUTE_FACTORY| Constructor and Description | 
|---|
TruncateTokenFilter(TokenStream input,
                   int length)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
incrementToken()  | 
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic TruncateTokenFilter(TokenStream input, int length)
public final boolean incrementToken()
                             throws IOException
incrementToken in class TokenStreamIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.