public enum ImportFormat extends java.lang.Enum<ImportFormat> implements ValueEnum
Enum Constant and Description |
---|
AUTO
Auto-detect format
|
CSV
Comma-separated values, or in general delimiter-separated values based on a provided delimiter.
|
JSON
JSON format: a JSON Array of JSON Objects
|
XML
XML format: same as that expected by the
AdminConsole for DataSource String |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ImportFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImportFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportFormat XML
AdminConsole
for DataSource String
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "xml".
public static final ImportFormat JSON
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "json".
public static final ImportFormat CSV
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "csv".
public static final ImportFormat AUTO
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "auto".
public static ImportFormat[] values()
for (ImportFormat c : ImportFormat.values()) System.out.println(c);
public static ImportFormat 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