public enum TelegramParseMode extends Enum<TelegramParseMode>
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static TelegramParseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TelegramParseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TelegramParseMode HTML
public static final TelegramParseMode MARKDOWN
public static TelegramParseMode[] values()
for (TelegramParseMode c : TelegramParseMode.values()) System.out.println(c);
public static TelegramParseMode 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 String getCode()
Apache Camel