Package com.saperion.constants.mime
Enum MIME
- java.lang.Object
-
- java.lang.Enum<MIME>
-
- com.saperion.constants.mime.MIME
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_EML
APP_OUTLOOK
APP_PDF
APP_PPT
APP_RTF
APP_VND_OUTLOOK
APP_VND_PPT
APP_VND_PPTX
APP_VND_WORD
APP_VND_XLS
APP_VND_XLSX
APP_WORD
APP_XLS
IMAGE_BMP
IMAGE_GIF
IMAGE_JPEG
IMAGE_PNG
IMAGE_TIFF
TEXT_PLAIN
TEXT_RTF
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMime()
static MIME
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MIME[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APP_WORD
public static final MIME APP_WORD
-
APP_VND_WORD
public static final MIME APP_VND_WORD
-
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_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
-
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
-
-
Method Detail
-
values
public static MIME[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MIME c : MIME.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MIME valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMime
public java.lang.String getMime()
-
-