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