public enum FormattedTextMode extends Enum<FormattedTextMode>
Learn more:
| Enum Constant and Description |
|---|
Html
HTML format.
|
Markdown
Markdown format.
|
PlainText
Plain text format.
|
| Modifier and Type | Method and Description |
|---|---|
static FormattedTextMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormattedTextMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormattedTextMode Html
public static final FormattedTextMode Markdown
public static final FormattedTextMode PlainText
public static FormattedTextMode[] values()
for (FormattedTextMode c : FormattedTextMode.values()) System.out.println(c);
public static FormattedTextMode 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 © 2026. All rights reserved.