|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EolStyle>
org.schmant.task.text.EolStyle
public enum EolStyle
Different end of line markers.
Enum Constant Summary | |
---|---|
CR
A line ending with a single carriage return. |
|
CRLF
A line ending with both a carriage return and a line feed. |
|
DOS
DOS style line ending (carriage return and then line feed) |
|
LF
A line ending with a single line feed. |
|
MAC
Macintosh style line ending (single carriage return). |
|
UNIX
Unix style line ending (single line feed). |
|
WIN
Windows style line ending (carriage return and then line feed) |
Method Summary | |
---|---|
String |
getEol()
Get the end of line string for this specific encoding. |
String |
toString()
|
static EolStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EolStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EolStyle CR
public static final EolStyle LF
public static final EolStyle CRLF
public static final EolStyle MAC
public static final EolStyle UNIX
public static final EolStyle DOS
public static final EolStyle WIN
Method Detail |
---|
public static EolStyle[] values()
for (EolStyle c : EolStyle.values()) System.out.println(c);
public static EolStyle valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getEol()
public String toString()
toString
in class Enum<EolStyle>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |