public enum ExportFormat extends Enum<ExportFormat>
Modifier and Type | Field and Description |
---|---|
static ExportFormat |
commandLineDefaultOption
The default export format to use for command line exports.
|
String |
description
Description of the format.
|
String |
extention
The extention to use for this format.
|
static ExportFormat |
guiDefaultOption
The default export format to use for GUI exports.
|
int |
index
The index of the format.
|
String |
name
The name of the format.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCommandLineOption()
Returns the command line description when the format is used as command
line argument.
|
static ExportFormat |
getFormatFromCommandLineOption(String commandLineOption)
Returns the export format designed by the given command line option.
|
static ExportFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportFormat text
public static final ExportFormat excel
public final int index
public final String name
public final String extention
public final String description
public static final ExportFormat commandLineDefaultOption
public static final ExportFormat guiDefaultOption
public static ExportFormat[] values()
for (ExportFormat c : ExportFormat.values()) System.out.println(c);
public static ExportFormat 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 static String getCommandLineOption()
public static ExportFormat getFormatFromCommandLineOption(String commandLineOption)
commandLineOption
- the command line optionCopyright © 2016. All rights reserved.