PatternMatcher

Interface for components that can match source strings against a specified pattern string. <p/> Different implementations can support different pattern types, for example, Ant style path expressions, or regular expressions, or other types of text based patterns.

@see hunt.shiro.util.AntPathMatcher AntPathMatcher RC2

Members

Functions

matches
bool matches(string pattern, string source)

Returns <code>true</code> if the given <code>source</code> matches the specified <code>pattern</code>, <code>false</code> otherwise.

Meta