public enum EndOfLineStyle extends Enum<EndOfLineStyle>
| Modifier and Type | Method and Description |
|---|---|
static EndOfLineStyle |
getCurrentOsStyle()
Get the end of line style for the current OS
|
String |
getTerminationString()
Get the termination string for the current OS
|
static EndOfLineStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndOfLineStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndOfLineStyle UNIX
public static final EndOfLineStyle MACOS
public static final EndOfLineStyle WINDOWS
public static EndOfLineStyle[] values()
for (EndOfLineStyle c : EndOfLineStyle.values()) System.out.println(c);
public static EndOfLineStyle 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 getTerminationString()
public static EndOfLineStyle getCurrentOsStyle()
Copyright © 2017 Axway Software. All rights reserved.