接口 PatternMatcher
- 所有已知实现类:
ServletPathMatcher
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.2.6
-
方法概要
-
方法详细资料
-
matches
Returnstrueif the givensourcematches the specifiedpattern,falseotherwise.- 参数:
pattern- the pattern to match againstsource- the source to match- 返回:
trueif the givensourcematches the specifiedpattern,falseotherwise.
-