Package com.oss.asn1

Enum Class CSVTool.Header

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

public static enum CSVTool.Header extends Enum<CSVTool.Header>
Defines supported formats of the CSV header.
     Examples:

     Info ::= SEQUENCE {
         id INTEGER,
         details SEQUENCE {
             title UTF8String,
             quantity INTEGER
         }
     }
     value Info ::= { id  1, details {title "tires", amount 4}}

     NONE
     ----
     1,"tires",4

     SIMPLE
     ------
     id,title,quantity
     1,"tires",4

     FULL
     ----
     id,details_title,details_quantity
     1,"tires",4
 
  • Enum Constant Details

    • NONE

      public static final CSVTool.Header NONE
      The CSV header is omitted.
    • SIMPLE

      public static final CSVTool.Header SIMPLE
      The CSV header includes only single field names for innermost simple types.
    • FULL

      public static final CSVTool.Header FULL
      The CSV header includes absolute reference names for all fields, including nested PDU names for open types.
  • Method Details

    • values

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