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
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
-
addExtensionMimeTypeMapping
-
clearMappings
public void clearMappings() -
hasExtension
-
hasMimeType
-