|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.commons.impl.MimeTypes
public class MimeTypes
Method Summary | |
---|---|
static String |
getExtension(String mimeType)
Guesses a extension from a MIME type. |
static String |
getMIMEType(File file)
Returns the MIME type for a file. |
static String |
getMIMEType(String ext)
Returns the MIME type for file 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 ext)
public static String getMIMEType(File file)
public static String getExtension(String mimeType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |