Package com.smartgwt.client.types
Enum ImportFormat
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<ImportFormat>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAuto-detect formatComma-separated values, or in general delimiter-separated values based on a provided delimiter.JSON format: a JSON Array of JSON ObjectsXML format: same as that expected by theAdminConsole
for DataSource String -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static ImportFormat
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.
-
Enum Constant Details
-
XML
XML format: same as that expected by theAdminConsole
for DataSource StringIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "xml". -
JSON
JSON format: a JSON Array of JSON ObjectsIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "json". -
CSV
Comma-separated values, or in general delimiter-separated values based on a provided delimiter.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "csv". -
AUTO
Auto-detect formatIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "auto".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-