Enum Class ScriptFormat
- All Implemented Interfaces:
Serializable,Comparable<ScriptFormat>,Constable
Enumeration of output formats.
- Author:
- Ralf Wisser
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDbUnit's FlatXmlDataSet format.Intra database export.Template based JSON.SQL DML.Template based XML.Template based YAML. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanIs followed by separator in drop-down-list? -
Method Summary
Modifier and TypeMethodDescriptionGets human readable name.Gets file chooser title.Gets file extension.booleanIs object notation format? (XML, JSON, YAML, ...)booleanUses UTF-8 charset?static ScriptFormatReturns the enum constant of this class with the specified name.static ScriptFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SQL
SQL DML. -
INTRA_DATABASE
Intra database export. -
JSON
Template based JSON. -
YAML
Template based YAML. -
XML
Template based XML. -
DBUNIT_FLAT_XML
DbUnit's FlatXmlDataSet format. -
LIQUIBASE_XML
-
-
Field Details
-
separatorFollowed
public final boolean separatorFollowedIs followed by separator in drop-down-list?
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getDisplayName
-
isObjectNotation
public boolean isObjectNotation()Is object notation format? (XML, JSON, YAML, ...)- Returns:
trueif this format is an object notation format
-
getFileChooserTitle
-
getFileExtension
-
isUsesUTF8
public boolean isUsesUTF8()Uses UTF-8 charset?- Returns:
trueif this format uses the UTF-8 charset
-