@Test public void testLoading() { assertThat(KnownMimeTypes.getMimeTypeByExtension("zip")).isEqualTo("application/zip"); assertThat(KnownMimeTypes.getMimeTypeByExtension("jpg")).isEqualTo("image/jpeg"); assertThat(KnownMimeTypes.getMimeTypeByExtension("json")).isEqualTo("application/json"); }
public static String getMimeTypeByExtension(String extension) { return EXTENSIONS.get(extension); }
KnownMimeTypes { public static String getMimeTypeByExtension(String extension) { return EXTENSIONS.get(extension); } }
KnownMimeTypes { public static String getMimeTypeByExtension(String extension) { return EXTENSIONS.get(extension); } private  KnownMimeTypes(); }
KnownMimeTypes { public static String getMimeTypeByExtension(String extension) { return EXTENSIONS.get(extension); } private  KnownMimeTypes(); static String getMimeTypeByExtension(String extension); static MediaType getMediaTypeByExtension(String extension); }
KnownMimeTypes { public static String getMimeTypeByExtension(String extension) { return EXTENSIONS.get(extension); } private  KnownMimeTypes(); static String getMimeTypeByExtension(String extension); static MediaType getMediaTypeByExtension(String extension); static final Multimap<String, String> EXTENSIONS_FOR_MIME; static final Map<String, String> EXTENSIONS; static final Set<String> COMPRESSED_MIME; }