public final class LowerCaseFilter extends TokenFilter
You must specify the required Version
compatibility when creating LowerCaseFilter:
AttributeSource.AttributeFactory, AttributeSource.Stateinput| Constructor and Description |
|---|
LowerCaseFilter(Version matchVersion,
TokenStream in)
Create a new LowerCaseFilter, that normalizes token text to lower case.
|
| 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, restoreStatepublic LowerCaseFilter(Version matchVersion, TokenStream in)
matchVersion - See abovein - TokenStream to filterpublic final boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.