@Test public void testIsApp() { assertTrue(MimeTypeHelper.isApp("application/atomsvc+xml")); assertFalse(MimeTypeHelper.isApp("application/atomserv+xml")); }
public static boolean isApp(String a) { return isMatch(Constants.APP_MEDIA_TYPE, a); }
MimeTypeHelper { public static boolean isApp(String a) { return isMatch(Constants.APP_MEDIA_TYPE, a); } }
MimeTypeHelper { public static boolean isApp(String a) { return isMatch(Constants.APP_MEDIA_TYPE, a); }  }
MimeTypeHelper { public static boolean isApp(String a) { return isMatch(Constants.APP_MEDIA_TYPE, a); }  static String getCharset(String mediatype); static boolean isMatch(String a, String b); static boolean isMatch(MimeType a, MimeType b); @SuppressWarnings("unchecked") static boolean isMatch(MimeType a, MimeType b, boolean includeparams); static boolean isApp(String a); static boolean isAtom(String a); static boolean isEntry(String a); static boolean isFeed(String a); static boolean isXml(String a); static boolean isText(String a); static boolean isMimeType(String a); @SuppressWarnings("unchecked") static String getMimeType(T base); static String[] condense(String... types); static Comparator<String> getComparator(); static int compare(MimeType mt1, MimeType mt2); static int compare(String t1, String t2); static boolean isMultipart(String a); }
MimeTypeHelper { public static boolean isApp(String a) { return isMatch(Constants.APP_MEDIA_TYPE, a); }  static String getCharset(String mediatype); static boolean isMatch(String a, String b); static boolean isMatch(MimeType a, MimeType b); @SuppressWarnings("unchecked") static boolean isMatch(MimeType a, MimeType b, boolean includeparams); static boolean isApp(String a); static boolean isAtom(String a); static boolean isEntry(String a); static boolean isFeed(String a); static boolean isXml(String a); static boolean isText(String a); static boolean isMimeType(String a); @SuppressWarnings("unchecked") static String getMimeType(T base); static String[] condense(String... types); static Comparator<String> getComparator(); static int compare(MimeType mt1, MimeType mt2); static int compare(String t1, String t2); static boolean isMultipart(String a);  }