public enum LineBreak extends Enum<LineBreak>
Whitespace is a line break character string.| Enum Constant and Description |
|---|
SYSTEM
The content of the system
property
line.separator. |
UNIX
A single line feed character.
|
WINDOWS
A carriage return character followed by an line feed character.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLineBreakString()
Returns the line break string of this
LineBreak; |
static LineBreak |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineBreak[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineBreak UNIX
public static final LineBreak WINDOWS
public static LineBreak[] values()
for (LineBreak c : LineBreak.values()) System.out.println(c);
public static LineBreak 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 © 2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.