code: public static boolean wildcardMatch(final String filename, final String wildcardfilter, boolean caseSensitivity) {
          return wildcardMatch(filename, wildcardfilter, caseSensitivity ? IOCase.SENSITIVE : IOCase.INSENSITIVE);
      }
docs: Checks a filename to see if it matches the specified wildcard filter
  allowing control over case-sensitivity.
  <p>
  The wildcard filter uses the characters '?' and '*' to represent a
  single or multiple (zero or more) wildcard characters.
  N.B. the sequence "*?" does not work properly at present in match strings.
  
  @param filename  the filename to match on
  @param wildcardfilter  the wildcard string to match against
  @param caseSensitivity  what case sensitivity rule to use, null means case-sensitive
  @return true if the filename matches the wilcard string