Package com.evolveum.midpoint.util
Class PatternMatcher
- java.lang.Object
- 
- com.evolveum.midpoint.util.PatternMatcher
 
- 
 @Experimental public class PatternMatcher extends Object 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatternMatchercreate(Collection<String> patterns)Creates a matcher.booleanisEmpty()booleanmatch(String text)
 
- 
- 
- 
Method Detail- 
createpublic static PatternMatcher create(Collection<String> patterns) Creates a matcher.
 - 
matchpublic boolean match(String text) 
 - 
isEmptypublic boolean isEmpty() 
 
- 
 
-