Enum LineReturnCharacters

java.lang.Object
java.lang.Enum<LineReturnCharacters>
com.orchestranetworks.addon.dex.configuration.LineReturnCharacters
All Implemented Interfaces:
Serializable, Comparable<LineReturnCharacters>, Constable

public enum LineReturnCharacters extends Enum<LineReturnCharacters>
Represents the characters used to signify the end of a CSV line.
Since:
2.4.0
  • Enum Constant Details

    • CARRIAGE_RETURN_AND_LINE_FEED

      public static final LineReturnCharacters CARRIAGE_RETURN_AND_LINE_FEED
      Specifies the carriage return and line feed characters used to indicate the end of a CSV line. This character is commonly used in the Microsoft Windows operating system.
    • LINE_FEED

      public static final LineReturnCharacters LINE_FEED
      Specifies the line feed characters used to indicate the end of a CSV line. This character is commonly used in the Unix or Mac operating systems.
    • CARRIAGE_RETURN

      public static final LineReturnCharacters CARRIAGE_RETURN
      Specifies the carriage return characters used to indicate the end of a CSV line. This character is commonly used in older Mac operating systems.
  • Method Details

    • values

      public static LineReturnCharacters[] 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 LineReturnCharacters 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
    • getValue

      public String getValue()
      Returns the line returns character.
    • parse

      public static LineReturnCharacters parse(String value)
      An LineReturnCharacters enumeration parsed from the given string.