public enum LineTerminator extends Enum<LineTerminator>
| Modifier and Type | Method and Description |
|---|---|
char[] |
getCharArray() |
String |
toString() |
static LineTerminator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineTerminator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineTerminator MACINTOSH
public static final LineTerminator UNIX
public static final LineTerminator WINDOWS
public static LineTerminator[] values()
for (LineTerminator c : LineTerminator.values()) System.out.println(c);
public static LineTerminator 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 final char[] getCharArray()
public String toString()
toString in class Enum<LineTerminator>Copyright © 2018 Optimatika. All rights reserved.