public enum MessageFormat extends Enum<MessageFormat>
| Modifier and Type | Method and Description |
|---|---|
static MessageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageFormat DATA
public static final MessageFormat TEXT
public static final MessageFormat AMQP
public static final MessageFormat JSON
public static MessageFormat[] values()
for (MessageFormat c : MessageFormat.values()) System.out.println(c);
public static MessageFormat 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 nullCopyright © 2013 The Apache Software Foundation. All Rights Reserved.