|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MimeType>
be.ehealth.technicalconnector.enumeration.MimeType
public enum MimeType
Enumeration for MimeTypes
Enum Constant Summary | |
---|---|
OCTECT_STREAM
|
|
octectstream
Deprecated. |
|
PLAIN_TEXT
|
|
plaintext
Deprecated. |
Method Summary | |
---|---|
String |
getValue()
|
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
@Deprecated public static final MimeType plaintext
public static final MimeType PLAIN_TEXT
@Deprecated public static final MimeType octectstream
public static final MimeType OCTECT_STREAM
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 getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |