code: protected static boolean match(String pattern, String str,
                                     boolean isCaseSensitive) {
          return SelectorUtils.match(pattern, str, isCaseSensitive);
      }
docs: Test whether or not a string matches against a pattern.
  The pattern may contain two special characters:<br>
  '*' means zero or more characters<br>
  '?' means one and only one character
  
  @param pattern The pattern to match against.
  Must not be <code>null</code>.
  @param str     The string which must be matched against the pattern.
  Must not be <code>null</code>.
  @param isCaseSensitive Whether or not matching should be performed
  case sensitively.
  
  
  @return <code>true</code> if the string matches against the pattern,
  or <code>false</code> otherwise.