public class DateRecognizerFilter extends FilteringTokenFilter
DateFormat
.AttributeSource.State
Modifier and Type | Field and Description |
---|---|
static String |
DATE_TYPE |
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
Constructor and Description |
---|
DateRecognizerFilter(TokenStream input)
|
DateRecognizerFilter(TokenStream input,
DateFormat dateFormat) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept() |
end, incrementToken, reset
close
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
public static final String DATE_TYPE
public DateRecognizerFilter(TokenStream input)
public DateRecognizerFilter(TokenStream input, DateFormat dateFormat)
public boolean accept()
accept
in class FilteringTokenFilter
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.