|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MimeType>
org.deepfs.fsml.MimeType
public enum MimeType
Available MIME types.
Enum Constant Summary | |
---|---|
APPLE_MAIL_TODO
Apple Mail to do. |
|
BMP
BMP. |
|
CSS
CSS. |
|
DIRECTORY
text/directory |
|
DOC
M$ Word. |
|
EML
Email. |
|
FORCE_DOWNLOAD
? |
|
GIF
GIF. |
|
HTML
HTML. |
|
ICS
ICS. |
|
JAR
Java archive. |
|
JAVA
Java source file. |
|
JAVA2
Java source file (alternate MIME type). |
|
JPG
JPG. |
|
KML
KML. |
|
MP3
MP3. |
|
O
Object file. |
|
ODS
ODS. |
|
PDF
PDF. |
|
PGP
pgp signature. |
|
PKCS7
pkcs7-signature. |
|
PNG
PNG. |
|
PPS
PPS. |
|
RTF
Rich text format. |
|
SH
Shell script. |
|
TIFF
TIFF. |
|
TXT
Plaintext. |
|
UNKNOWN
Unknown media. |
|
VCARD
Vcard. |
|
XLS
XLS. |
|
XML
XML. |
|
XML2
XML. |
|
XPKCS7
x-pkcs7-signature. |
|
ZIP
Zip. |
Method Summary | |
---|---|
String |
getDefaultSuffix()
Returns the default file suffix for the MIME type. |
static MimeType |
getItem(String name)
Tries to find the MimeType item for the given MIME type string. |
FileType[] |
getMetaTypes()
Returns the associated meta types. |
String |
toString()
|
static MimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MimeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MimeType APPLE_MAIL_TODO
public static final MimeType BMP
public static final MimeType CSS
public static final MimeType DIRECTORY
public static final MimeType DOC
public static final MimeType EML
public static final MimeType FORCE_DOWNLOAD
public static final MimeType GIF
public static final MimeType HTML
public static final MimeType ICS
public static final MimeType JAR
public static final MimeType JAVA
public static final MimeType JAVA2
public static final MimeType JPG
public static final MimeType KML
public static final MimeType MP3
public static final MimeType O
public static final MimeType ODS
public static final MimeType PDF
public static final MimeType PGP
public static final MimeType PKCS7
public static final MimeType PNG
public static final MimeType PPS
public static final MimeType RTF
public static final MimeType SH
public static final MimeType TIFF
public static final MimeType TXT
public static final MimeType UNKNOWN
public static final MimeType VCARD
public static final MimeType XLS
public static final MimeType XML
public static final MimeType XML2
public static final MimeType XPKCS7
public static final MimeType ZIP
Method Detail |
---|
public static MimeType[] values()
for (MimeType c : MimeType.values()) System.out.println(c);
public static MimeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getDefaultSuffix()
public FileType[] getMetaTypes()
public static MimeType getItem(String name)
name
- the MIME type string to find
MimeType
item or null
if the item was not
foundpublic String toString()
toString
in class Enum<MimeType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |