@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum OutputFormat extends java.lang.Enum<OutputFormat>
ColumnFormatter when formatting data.| Enum Constant and Description |
|---|
COLUMNS
Indicates that the output should be formatted in columns.
|
CSV
Indicates that the output should be formatted as comma-separated values.
|
TAB_DELIMITED_TEXT
Indicates that the output should be formatted as tab-delimited text.
|
| Modifier and Type | Method and Description |
|---|---|
static OutputFormat |
forName(java.lang.String name)
Retrieves the output format value with the specified name.
|
static OutputFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutputFormat COLUMNS
public static final OutputFormat TAB_DELIMITED_TEXT
public static final OutputFormat CSV
public static OutputFormat[] values()
for (OutputFormat c : OutputFormat.values()) System.out.println(c);
public static OutputFormat 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@Nullable public static OutputFormat forName(@NotNull java.lang.String name)
name - The name of the output format value to retrieve. It must not
be null.null if no such
format is defined.