@Beta public final class MediaTypes extends HashMap<String,MediaType>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Method and Description |
---|---|
MediaType |
fromExt(String ext) |
MediaType |
fromFile(String fileName) |
static MediaTypes |
instance() |
MediaType |
put(String ext,
MediaType value) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public static MediaTypes instance()