public class TimeMatcherFactory extends MatcherFactory
| Modifier and Type | Field and Description |
|---|---|
static TimeMatcherFactory |
DEFAULT
Default reusable matcher.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TimeMatcherFactory()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMatch(ClassMeta<?> cm)
Returns
|
Matcher |
create(String pattern)
Instantiates a matcher for the specified pattern.
|
protected SimpleDateFormat[] |
getTimestampFormats()
TODO
|
protected String[] |
getTimestampFormatStrings()
TODO
|
public static final TimeMatcherFactory DEFAULT
protected TimeMatcherFactory()
protected SimpleDateFormat[] getTimestampFormats()
protected String[] getTimestampFormatStrings()
public boolean canMatch(ClassMeta<?> cm)
MatcherFactorycanMatch in class MatcherFactorycm - The class type of the object being matched. Never public Matcher create(String pattern)
MatcherFactorycreate in class MatcherFactorypattern - The pattern string.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.