jetbrick-commons/src/main/java/jetbrick/lang/WildcharUtils.java
public static boolean match(String string, String pattern) {
        if (string.equals(pattern)) { // speed-up
            return true;
        }
        return match(string, pattern, 0, 0);
    }
public static boolean match(String string, String pattern) {
        if (string.equals(pattern)) { // speed-up
            return true;
        }
        return match(string, pattern, 0, 0);
    }
public static boolean match ( String string , String pattern ) { if ( string . equals ( pattern ) ) { // speed-up return true ; } return match ( string , pattern , 0 , 0 ) ; }
Checks whether a string matches a given wildcard pattern.

@param string    input string
@param pattern   pattern to match
@return          <code>true</code> if string matches the pattern, otherwise <code>false</code>
Checks whether a string matches a given wildcard pattern .