Enum Class ExportTypes

java.lang.Object
java.lang.Enum<ExportTypes>
com.jbstrap.core.data.ExportTypes
All Implemented Interfaces:
Serializable, Comparable<ExportTypes>, Constable

public enum ExportTypes extends Enum<ExportTypes>
Data export format types
Since:
4.0
Author:
JBStrap
  • Enum Constant Details

    • XLS

      public static final ExportTypes XLS
      Exports data in the Microsoft Excel (XLS) format
    • XLSX

      public static final ExportTypes XLSX
      Exports data in the Microsoft Excel (XLSX) format
    • CSV

      public static final ExportTypes CSV
      Exports data in the CSV format
    • TSV

      public static final ExportTypes TSV
      Exports data in the TSV format
  • Method Details

    • values

      public static ExportTypes[] 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 ExportTypes 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
    • getExtension

      public String getExtension()
      Returns:
      The output file extension
    • getImplementationClass

      public Class<? extends DataExporter> getImplementationClass()
      Returns:
      The DataExporter implementation class