接口 PatternMatcher
- 所有已知实现类:
AntPathMatcher
public interface PatternMatcher
Interface for components that can match source strings against a specified pattern string.
Different implementations can support different pattern types, for example, Ant style path expressions, or
regular expressions, or other types of text based patterns.
- 从以下版本开始:
- 0.9 RC2
- 另请参阅:
-
AntPathMatcher
-
方法概要
-
方法详细资料
-
matches
Returnstrueif the givensourcematches the specifiedpattern,falseotherwise.- 参数:
pattern- the pattern to match againstsource- the source to match- 返回:
trueif the givensourcematches the specifiedpattern,falseotherwise.
-