public static enum ScriptfileUtils.LineEndingStyle extends java.lang.Enum<ScriptfileUtils.LineEndingStyle>
| Enum Constant and Description |
|---|
LOCAL
Local line endings of the jvm host
|
UNIX
Unix line endings, "\n"
|
WINDOWS
Windows line endings, "\r\n"
|
| Modifier and Type | Method and Description |
|---|---|
static ScriptfileUtils.LineEndingStyle |
forOsFamily(java.lang.String family) |
java.lang.String |
getLineSeparator() |
static ScriptfileUtils.LineEndingStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScriptfileUtils.LineEndingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptfileUtils.LineEndingStyle UNIX
public static final ScriptfileUtils.LineEndingStyle WINDOWS
public static final ScriptfileUtils.LineEndingStyle LOCAL
public static ScriptfileUtils.LineEndingStyle[] values()
for (ScriptfileUtils.LineEndingStyle c : ScriptfileUtils.LineEndingStyle.values()) System.out.println(c);
public static ScriptfileUtils.LineEndingStyle valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ScriptfileUtils.LineEndingStyle forOsFamily(java.lang.String family)
family - familypublic java.lang.String getLineSeparator()