Package com.evolveum.midpoint.util
Class PatternMatcher
java.lang.Object
com.evolveum.midpoint.util.PatternMatcher
Matches a string against a set of patterns that can be either in "naive" format, using "*" as a wildcard,
or in regex format. The regex format is used when the string is in the form of ~/.../.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PatternMatcher
create
(Collection<String> patterns) Creates a matcher.boolean
isEmpty()
boolean
-
Method Details
-
create
Creates a matcher. -
match
-
isEmpty
public boolean isEmpty()
-