public enum OutputFormat extends Enum<OutputFormat>
Modifier and Type | Method and Description |
---|---|
String |
getExtension()
Get the file extension for the output format.
|
static OutputFormat |
valueOf(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 CSV
public static final OutputFormat CSV_GZIP
public static final OutputFormat CSV_XZ
public static OutputFormat[] values()
for (OutputFormat c : OutputFormat.values()) System.out.println(c);
public static OutputFormat 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 getExtension()
Get the file extension for the output format.