Package org.apache.juneau.objecttools
Class MatcherFactory
java.lang.Object
org.apache.juneau.objecttools.MatcherFactory
- Direct Known Subclasses:
- NumberMatcherFactory,- StringMatcherFactory,- TimeMatcherFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract booleanReturnstrue if this matcher can be used on the specified object.abstract AbstractMatcherInstantiates a matcher for the specified pattern.
- 
Constructor Details- 
MatcherFactorypublic MatcherFactory()
 
- 
- 
Method Details- 
canMatchReturnstrue if this matcher can be used on the specified object.- Parameters:
- cm- The class type of the object being matched. Never- null .
- Returns:
- true if this matcher can be used on the specified object.
 
- 
createInstantiates a matcher for the specified pattern.- Parameters:
- pattern- The pattern string.
- Returns:
- A matcher for the specified pattern.
 
 
-