Enum LineReturnCharacters
java.lang.Object
java.lang.Enum<LineReturnCharacters>
com.orchestranetworks.addon.dex.configuration.LineReturnCharacters
- All Implemented Interfaces:
Serializable
,Comparable<LineReturnCharacters>
,Constable
Represents the characters used to signify the end of a CSV line.
- Since:
- 2.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the carriage return characters used to indicate the end of a CSV line.Specifies the carriage return and line feed characters used to indicate the end of a CSV line.Specifies the line feed characters used to indicate the end of a CSV line. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Returns the line returns character.static LineReturnCharacters
AnLineReturnCharacters
enumeration parsed from the given string.static LineReturnCharacters
Returns the enum constant of this type with the specified name.static LineReturnCharacters[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException
- if the argument is null
-
getValue
Returns the line returns character. -
parse
AnLineReturnCharacters
enumeration parsed from the given string.
-