Package org.jacoco.core.runtime
Class WildcardMatcher
- java.lang.Object
-
- org.jacoco.core.runtime.WildcardMatcher
-
public class WildcardMatcher extends java.lang.Object
Matches strings against glob like wildcard expressions where?
matches any single character and*
matches any number of any character. Multiple expressions can be separated with a colon (:). In this case the expression matches if at least one part matches.
-
-
Constructor Summary
Constructors Constructor Description WildcardMatcher(java.lang.String expression)
Creates a new matcher with the given expression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(java.lang.String s)
Matches the given string against the expressions of this matcher.
-