cn.dreampie.common.util.pattern.PatternMatcher Maven / Gradle / Ivy
package cn.dreampie.common.util.pattern;
/**
* Created by ice on 14-9-10.
*/
public interface PatternMatcher {
/**
* Returns true
if the given source
matches the specified pattern
,
* false
otherwise.
*
* @param pattern the pattern to match against
* @param source the source to match
* @return true
if the given source
matches the specified pattern
,
* false
otherwise.
*/
boolean matches(String pattern, String source);
}