public class RegexPathMatcher extends java.lang.Object implements PathMatcher
ANT, REGEX| Constructor and Description |
|---|
RegexPathMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(java.lang.String pattern,
java.lang.String source)
Returns
true if the given source matches the specified pattern,
false otherwise. |
public boolean matches(java.lang.String pattern,
java.lang.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.