public class RegexPathMatcher extends Object implements PathMatcher
ANT, REGEX| Constructor and Description |
|---|
RegexPathMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String pattern,
String source)
Returns
true if the given source matches the specified pattern,
false otherwise. |
public boolean matches(String pattern, String source)
PathMatchertrue if the given source matches the specified pattern,
false otherwise.matches in interface PathMatcherpattern - the pattern to match againstsource - the source to matchtrue if the given source matches the specified pattern,
false otherwise.