public interface PathMatcher
Different implementations can support different pattern types, for example, Ant style path expressions, or regular expressions, or other types of text based patterns.
| Modifier and Type | Field and Description | 
|---|---|
| static AntPathMatcher | ANTThe default Ant style path matcher. | 
| static RegexPathMatcher | REGEXThe default regex style path matcher. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | matches(String pattern,
       String source)Returns  trueif the givensourcematches the specifiedpattern,falseotherwise. | 
static final AntPathMatcher ANT
static final RegexPathMatcher REGEX