Searched refs:matchAgainst (Results 1 – 2 of 2) sorted by relevance
296 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument297 for (String matchType : matchAgainst) { in mimeTypeMatches()305 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument306 Pattern p = Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), in mimeTypeMatches()
327 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument328 Pattern p = Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), in mimeTypeMatches()342 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument343 for (String matchType : matchAgainst) { in mimeTypeMatches()