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(java.lang.String pattern,
       java.lang.String source)
Returns  
true if the given source matches the specified pattern,
 false otherwise. | 
static final AntPathMatcher ANT
static final RegexPathMatcher REGEX
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.