Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
APP_WORD
public static final MIME APP_WORD
APP_VND_WORD
public static final MIME APP_VND_WORD
APP_VND_WORDM
public static final MIME APP_VND_WORDM
APP_RTF
public static final MIME APP_RTF
APP_PPT
public static final MIME APP_PPT
APP_VND_PPT
public static final MIME APP_VND_PPT
APP_VND_PPTX
public static final MIME APP_VND_PPTX
APP_VND_XLS
public static final MIME APP_VND_XLS
APP_XLS
public static final MIME APP_XLS
APP_VND_XLSX
public static final MIME APP_VND_XLSX
TEXT_RTF
public static final MIME TEXT_RTF
APP_VND_OPEN_OFFICE_TEXT
public static final MIME APP_VND_OPEN_OFFICE_TEXT
APP_VND_OPEN_OFFICE_TEXT_TEMPLATE
public static final MIME APP_VND_OPEN_OFFICE_TEXT_TEMPLATE
APP_PDF
public static final MIME APP_PDF
APP_EML
public static final MIME APP_EML
APP_OUTLOOK
public static final MIME APP_OUTLOOK
APP_VND_OUTLOOK
public static final MIME APP_VND_OUTLOOK
APP_VISIO
public static final MIME APP_VISIO
APP_VND_VISIO
public static final MIME APP_VND_VISIO
TEXT_PLAIN
public static final MIME TEXT_PLAIN
IMAGE_TIFF
public static final MIME IMAGE_TIFF
IMAGE_GIF
public static final MIME IMAGE_GIF
IMAGE_BMP
public static final MIME IMAGE_BMP
IMAGE_PNG
public static final MIME IMAGE_PNG
IMAGE_JPEG
public static final MIME IMAGE_JPEG
TEXT_CSV
public static final MIME TEXT_CSV
Method Details
values
public static MIME [] values ()
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum class has no constant with the specified name
NullPointerException - if the argument is null