common/src/main/java/HTTPClient/Util.java
/**
     * Match <var>pattern</var> against <var>name</var>, where
     * <var>pattern</var> may contain wildcards ('*').
     *
     * @param pattern the pattern to match; may contain '*' which match
     *                any number (0 or more) of any character (think file
     *                globbing)
     * @param name    the name to match against the pattern
     * @return true if the name matches the pattern; false otherwise
     */
Match pattern against name, where
pattern may contain wildcards ('*').

@param pattern the pattern to match; may contain '*' which match
any number (0 or more) of any character (think file
globbing)
@param name    the name to match against the pattern
@return true if the name matches the pattern; false otherwise
Match pattern against name where pattern may contain wildcards ( ' * ' ) . @param pattern the pattern to match ; may contain ' * ' which match any number ( 0 or more ) of any character ( think file globbing ) @param name the name to match against the pattern @return true if the name matches the pattern ; false otherwise
public static final boolean wildcardMatch(String pattern, String name)
    {
	return
	    wildcardMatch(pattern, name, 0, 0, pattern.length(), name.length());
    }
public static final boolean wildcardMatch ( String pattern , String name ) { return wildcardMatch ( pattern , name , 0 , 0 , pattern . length ( ) , name . length ( ) ) ; }
Match <var>pattern</var> against <var>name</var>, where
 <var>pattern</var> may contain wildcards ('*').
Match <var > pattern< / var > against <var > name< / var > where <var > pattern< / var > may contain wildcards ( ' * ' ) .