@Test public void testThatWeSupportTheSameSetOfExtensionsAsBefore() { for(Map.Entry<String, String> entry : OldKnownMimeTypes.EXTENSIONS.entrySet()) { if (KnownMimeTypes.getMimeTypeByExtension(entry.getKey()) == null) { assertThat(entry.getValue()).isEqualTo(KnownMimeTypes.EXTENSIONS.get(entry.getKey())); } } }
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; }