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)
MatcherFactory
canMatch
in class MatcherFactory
cm
- The class type of the object being matched. Never public Matcher create(String pattern)
MatcherFactory
create
in class MatcherFactory
pattern
- The pattern string.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.