|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchrriis.common.MimeTypes
public class MimeTypes
A utility class to get mime type mappings.
Method Summary | |
---|---|
static void |
addMissingMimeType(String extension,
String mimeType)
Add (or replace) a mime type for a given extension. |
static String |
getMimeType(String extension)
Get the mime type associated to a particular extension. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getMimeType(String extension)
public static void addMissingMimeType(String extension, String mimeType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |