public static enum TopicMessage.BodyType extends Enum<TopicMessage.BodyType>
| Modifier and Type | Method and Description |
|---|---|
static TopicMessage.BodyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicMessage.BodyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicMessage.BodyType STRING
public static final TopicMessage.BodyType BASE64
public static TopicMessage.BodyType[] values()
for (TopicMessage.BodyType c : TopicMessage.BodyType.values()) System.out.println(c);
public static TopicMessage.BodyType 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 © 2024. All Rights Reserved.