Searched refs:matchAgainst (Results 1 – 2 of 2) sorted by relevance
285 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument286 for (String matchType : matchAgainst) { in mimeTypeMatches()294 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument295 Pattern p = Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), in mimeTypeMatches()
326 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument327 Pattern p = Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), in mimeTypeMatches()341 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument342 for (String matchType : matchAgainst) { in mimeTypeMatches()