public enum LineEnding extends Enum<LineEnding>
Enum Constant and Description |
---|
CR_LF
Line ending that consists of a carriage return (CR) followed by a line feed (LF).
|
LF
Line ending that only consists of a line feed (LF).
|
Modifier and Type | Method and Description |
---|---|
String |
getLineEnding()
Returns the line ending as a
String . |
static LineEnding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineEnding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineEnding LF
public static final LineEnding CR_LF
public static LineEnding[] values()
for (LineEnding c : LineEnding.values()) System.out.println(c);
public static LineEnding 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 nullCopyright © Veeva Systems 2017–2019. All rights reserved.