public enum MIME extends Enum<MIME>
Enum Constant and 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 |
Modifier and Type | Method and Description |
---|---|
String |
getMime() |
static MIME |
valueOf(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.
|
public static final MIME APP_WORD
public static final MIME APP_VND_WORD
public static final MIME APP_RTF
public static final MIME APP_PPT
public static final MIME APP_VND_PPT
public static final MIME APP_VND_PPTX
public static final MIME APP_VND_XLS
public static final MIME APP_XLS
public static final MIME APP_VND_XLSX
public static final MIME TEXT_RTF
public static final MIME APP_PDF
public static final MIME APP_EML
public static final MIME APP_OUTLOOK
public static final MIME APP_VND_OUTLOOK
public static final MIME TEXT_PLAIN
public static final MIME IMAGE_TIFF
public static final MIME IMAGE_GIF
public static final MIME IMAGE_BMP
public static final MIME IMAGE_PNG
public static final MIME IMAGE_JPEG
public static MIME[] values()
for (MIME c : MIME.values()) System.out.println(c);
public static MIME valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getMime()
Copyright © 2016 SAPERION AG. All rights reserved.