Enum QuoteStyle

java.lang.Object
java.lang.Enum<QuoteStyle>
org.python.modules._csv.QuoteStyle
All Implemented Interfaces:
Serializable, Comparable<QuoteStyle>, java.lang.constant.Constable

public enum QuoteStyle extends Enum<QuoteStyle>
CSV quoting styles.
  • Enum Constant Details

    • QUOTE_MINIMAL

      public static final QuoteStyle QUOTE_MINIMAL
    • QUOTE_ALL

      public static final QuoteStyle QUOTE_ALL
    • QUOTE_NONNUMERIC

      public static final QuoteStyle QUOTE_NONNUMERIC
    • QUOTE_NONE

      public static final QuoteStyle QUOTE_NONE
  • Method Details

    • values

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

      public static QuoteStyle valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromOrdinal

      public static QuoteStyle fromOrdinal(int ordinal)
      Return a QuoteStyle instance from an integer value.
      Parameters:
      ordinal - an int value
      Returns:
      a QuoteStyle instance of null if invalid ordinal