Enum Class ScriptFormat

java.lang.Object
java.lang.Enum<ScriptFormat>
net.sf.jailer.subsetting.ScriptFormat
All Implemented Interfaces:
Serializable, Comparable<ScriptFormat>, Constable

public enum ScriptFormat extends Enum<ScriptFormat>
Enumeration of output formats.
Author:
Ralf Wisser
  • Enum Constant Details

    • SQL

      public static final ScriptFormat SQL
      SQL DML.
    • INTRA_DATABASE

      public static final ScriptFormat INTRA_DATABASE
      Intra database export.
    • JSON

      public static final ScriptFormat JSON
      Template based JSON.
    • YAML

      public static final ScriptFormat YAML
      Template based YAML.
    • XML

      public static final ScriptFormat XML
      Template based XML.
    • DBUNIT_FLAT_XML

      public static final ScriptFormat DBUNIT_FLAT_XML
      DbUnit's FlatXmlDataSet format.
    • LIQUIBASE_XML

      public static final ScriptFormat LIQUIBASE_XML
  • Field Details

    • separatorFollowed

      public final boolean separatorFollowed
      Is followed by separator in drop-down-list?
  • Method Details

    • values

      public static ScriptFormat[] 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

      public static ScriptFormat valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getDisplayName

      public String getDisplayName()
      Gets human readable name.
      Returns:
      human readable name
    • isObjectNotation

      public boolean isObjectNotation()
      Is object notation format? (XML, JSON, YAML, ...)
      Returns:
      true if this format is an object notation format
    • getFileChooserTitle

      public String getFileChooserTitle()
      Gets file chooser title.
      Returns:
      file chooser title
    • getFileExtension

      public String getFileExtension()
      Gets file extension.
      Returns:
      file extension
    • isUsesUTF8

      public boolean isUsesUTF8()
      Uses UTF-8 charset?
      Returns:
      true if this format uses the UTF-8 charset