public enum LineReturnCharacters extends Enum<LineReturnCharacters>
| Enum Constant and Description |
|---|
CARRIAGE_RETURN
Specifies the carriage return characters used to indicate the end of a CSV line.
|
CARRIAGE_RETURN_AND_LINE_FEED
Specifies the carriage return and line feed characters used to indicate the end of a CSV line.
|
LINE_FEED
Specifies the line feed characters used to indicate the end of a CSV line.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Returns the line returns character.
|
static LineReturnCharacters |
parse(String value)
An
LineReturnCharacters enumeration parsed from the given string. |
static LineReturnCharacters |
valueOf(String name)
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.
|
public static final LineReturnCharacters CARRIAGE_RETURN_AND_LINE_FEED
public static final LineReturnCharacters LINE_FEED
public static final LineReturnCharacters CARRIAGE_RETURN
public static LineReturnCharacters[] values()
for (LineReturnCharacters c : LineReturnCharacters.values()) System.out.println(c);
public static LineReturnCharacters valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public static LineReturnCharacters parse(String value)
LineReturnCharacters enumeration parsed from the given string.