Package com.oss.asn1

Enum Class CSVTool.Layout

java.lang.Object
java.lang.Enum<CSVTool.Layout>
com.oss.asn1.CSVTool.Layout
All Implemented Interfaces:
Serializable, Comparable<CSVTool.Layout>, Constable
Enclosing class:
CSVTool

public static enum CSVTool.Layout extends Enum<CSVTool.Layout>
Defines supported layouts of the CSV output.
     Examples:

       COLUMN layout
       -------------
       name1,value1
       name2,value2
       name3.value3

       ROW layout
       ----------
       name1,name2,name3
       value1.value2,value3
 
  • Enum Constant Details

    • COLUMN

      public static final CSVTool.Layout COLUMN
      Each record value is placed on a separate line.
    • ROW

      public static final CSVTool.Layout ROW
      Each record is placed on a separate line.
  • Method Details

    • values

      public static CSVTool.Layout[] 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 CSVTool.Layout 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