final class WildcardClassNameMatcher extends Object implements ClassNameMatcher
ClassNameMatcher that uses simplified regular expressions
provided by FilenameUtils.wildcardMatch
This object is immutable and thread-safe.
| Constructor and Description |
|---|
WildcardClassNameMatcher(String pattern)
Constructs an object based on the specified simplified regular expression.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String className)
Returns
true if the supplied class name matches this object's condition. |
WildcardClassNameMatcher(String pattern)
pattern - a FilenameUtils.wildcardMatch(java.lang.String, java.lang.String) pattern.public boolean matches(String className)
ClassNameMatchertrue if the supplied class name matches this object's condition.matches in interface ClassNameMatcherclassName - fully qualified class nametrue if the class name matches this object's condition