public interface PathMatcher
Modifier and Type | Field and Description |
---|---|
static AntPathMatcher |
ANT
The default Ant style patch matcher.
|
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. |
static final AntPathMatcher ANT
boolean matches(java.lang.String pattern, java.lang.String source)
true
if the given source
matches the specified pattern
,
false
otherwise.pattern
- the pattern to match againstsource
- the source to matchtrue
if the given source
matches the specified pattern
,
false
otherwise.