public interface PathMatcher
Modifier and Type | Field and Description |
---|---|
static AntPathMatcher |
ANT
The default Ant style path matcher.
|
static RegexPathMatcher |
REGEX
The default regex style path matcher.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(String pattern,
String source)
Returns
true if the given source matches the specified pattern ,
false otherwise. |
static final AntPathMatcher ANT
static final RegexPathMatcher REGEX