Searched refs:matchAgainst (Results 1 – 2 of 2) sorted by relevance
243 static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument244 for (String matchType : matchAgainst) { in mimeTypeMatches()252 private static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument254 Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), Pattern.CASE_INSENSITIVE); in mimeTypeMatches()
280 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument281 Pattern p = Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), Pattern.CASE_INSENSITIVE); in mimeTypeMatches()294 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument295 for (String matchType : matchAgainst) { in mimeTypeMatches()