public class

MimeTypeMapWrapper

extends Object
java.lang.Object
   ↳ com.facebook.common.media.MimeTypeMapWrapper

Class Overview

Wrapper around the system's MimeTypeMap that also handles types it doesn't support.

Summary

Public Constructors
MimeTypeMapWrapper()
Public Methods
static String getExtensionFromMimeType(String mimeType)
static String getMimeTypeFromExtension(String extension)
static boolean hasExtension(String extension)
static boolean hasMimeType(String mimeType)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MimeTypeMapWrapper ()

Public Methods

public static String getExtensionFromMimeType (String mimeType)

public static String getMimeTypeFromExtension (String extension)

public static boolean hasExtension (String extension)

public static boolean hasMimeType (String mimeType)