@Implements(value=android.webkit.MimeTypeMap.class) public class ShadowMimeTypeMap extends Object
Constructor and Description |
---|
ShadowMimeTypeMap() |
Modifier and Type | Method and Description |
---|---|
void |
addExtensionMimeTypMapping(String extension,
String mimeType) |
void |
clearMappings() |
protected String |
getExtensionFromMimeType(String mimeType) |
protected String |
getMimeTypeFromExtension(String extension) |
protected static MimeTypeMap |
getSingleton() |
protected boolean |
hasExtension(String extension) |
protected boolean |
hasMimeType(String mimeType) |
static void |
reset() |
@Implementation protected static MimeTypeMap getSingleton()
@Resetter public static void reset()
@Implementation protected String getMimeTypeFromExtension(String extension)
@Implementation protected String getExtensionFromMimeType(String mimeType)
public void addExtensionMimeTypMapping(String extension, String mimeType)
public void clearMappings()
@Implementation protected boolean hasExtension(String extension)
@Implementation protected boolean hasMimeType(String mimeType)