java.io.Serializable, java.lang.Comparable<MessageBuilder.Formatting>public static enum MessageBuilder.Formatting extends java.lang.Enum<MessageBuilder.Formatting>
MessageBuilder.append(java.lang.CharSequence, net.dv8tion.jda.core.MessageBuilder.Formatting...)| Enum Constant | Description |
|---|---|
BLOCK |
|
BOLD |
|
ITALICS |
|
STRIKETHROUGH |
|
UNDERLINE |
| Modifier and Type | Method | Description |
|---|---|---|
static MessageBuilder.Formatting |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MessageBuilder.Formatting[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageBuilder.Formatting ITALICS
public static final MessageBuilder.Formatting BOLD
public static final MessageBuilder.Formatting STRIKETHROUGH
public static final MessageBuilder.Formatting UNDERLINE
public static final MessageBuilder.Formatting BLOCK
public static MessageBuilder.Formatting[] values()
for (MessageBuilder.Formatting c : MessageBuilder.Formatting.values()) System.out.println(c);
public static MessageBuilder.Formatting valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null