Package com.oss.asn1

Enum Class CSVTool.StringFormat

All Implemented Interfaces:
Serializable, Comparable<CSVTool.StringFormat>, Constable
Enclosing class:

public static enum CSVTool.StringFormat extends Enum<CSVTool.StringFormat>
Defines supported formats for displaying OCTET STRING type values in the CSV output.
  • Enum Constant Details

    • HEX

      public static final CSVTool.StringFormat HEX
      The value is printed as a hexadecimal string.
    • ASCII

      public static final CSVTool.StringFormat ASCII
      Each byte is mapped to its ASCII equivalent. The '?' character is used to represent non-printable characters.
  • Method Details

    • values

      public static CSVTool.StringFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CSVTool.StringFormat 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null