Class WildcardClassNameMatcher
java.lang.Object
org.apache.commons.io.serialization.WildcardClassNameMatcher
- All Implemented Interfaces:
ClassNameMatcher
A
ClassNameMatcher that uses simplified regular expressions
provided by FilenameUtils.wildcardMatch
This object is immutable and thread-safe.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWildcardClassNameMatcher(String pattern) Constructs an object based on the specified simplified regular expression. -
Method Summary
-
Field Details
-
pattern
-
-
Constructor Details
-
WildcardClassNameMatcher
Constructs an object based on the specified simplified regular expression.- Parameters:
pattern- aFilenameUtils.wildcardMatch(java.lang.String, java.lang.String)pattern.
-
-
Method Details
-
matches
Description copied from interface:ClassNameMatcherReturnstrueif the supplied class name matches this object's condition.- Specified by:
matchesin interfaceClassNameMatcher- Parameters:
className- fully qualified class name- Returns:
trueif the class name matches this object's condition
-