public enum MessageBodyEncoding extends Enum<MessageBodyEncoding>
| Modifier and Type | Field and Description |
|---|---|
static MessageBodyEncoding |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static MessageBodyEncoding |
fromString(String param)
Converting String to BodyEncoding
|
static boolean |
isValid(String encodingStr) |
static MessageBodyEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageBodyEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageBodyEncoding UTF8
public static final MessageBodyEncoding UTF16
public static final MessageBodyEncoding DEFAULT
public static MessageBodyEncoding[] values()
for (MessageBodyEncoding c : MessageBodyEncoding.values()) System.out.println(c);
public static MessageBodyEncoding 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 final MessageBodyEncoding fromString(String param)
param - String parameterpublic static final boolean isValid(String encodingStr)
Copyright © 2016. All Rights Reserved.