public enum MessageType extends Enum<MessageType>
Enum Constant and Description |
---|
BINARY |
BINARY_BASE64 |
CSV |
GZIP |
GZIP_BASE64 |
JSON |
MSCONS |
PLAINTEXT |
XHTML |
XML |
Modifier and Type | Method and Description |
---|---|
static boolean |
knows(String messageTypeName)
Check if this message type name is matching a enum value.
|
static MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType XML
public static final MessageType XHTML
public static final MessageType CSV
public static final MessageType JSON
public static final MessageType PLAINTEXT
public static final MessageType BINARY
public static final MessageType BINARY_BASE64
public static final MessageType GZIP
public static final MessageType GZIP_BASE64
public static final MessageType MSCONS
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType 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 static boolean knows(String messageTypeName)
messageTypeName
- Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.