public enum Newline extends Enum<Newline>
Modifier and Type | Method and Description |
---|---|
char |
getFirstCharCode() |
char |
getSecondCharCode() |
String |
getString() |
static Newline |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Newline[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Newline CRLF
public static final Newline LF
public static final Newline CR
public static Newline[] values()
for (Newline c : Newline.values()) System.out.println(c);
public static Newline 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 getString()
public char getFirstCharCode()
public char getSecondCharCode()