Package org.robolectric.shadows
Class ShadowMimeTypeMap
java.lang.Object
org.robolectric.shadows.ShadowMimeTypeMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtensionMimeTypeMapping
(String extension, String mimeType) void
addExtensionMimeTypMapping
(String extension, String mimeType) Deprecated.use addExtensionMimeTypeMappingvoid
protected String
getExtensionFromMimeType
(String mimeType) protected String
getMimeTypeFromExtension
(String extension) protected static MimeTypeMap
protected boolean
hasExtension
(String extension) protected boolean
hasMimeType
(String mimeType) static void
reset()
-
Constructor Details
-
ShadowMimeTypeMap
public ShadowMimeTypeMap()
-
-
Method Details
-
getSingleton
-
reset
-
getMimeTypeFromExtension
-
getExtensionFromMimeType
-
addExtensionMimeTypMapping
Deprecated.use addExtensionMimeTypeMapping -
addExtensionMimeTypeMapping
-
clearMappings
public void clearMappings() -
hasExtension
-
hasMimeType
-