public enum LineEnding extends java.lang.Enum<LineEnding>
Modifier and Type | Class and Description |
---|---|
static class |
LineEnding.Adapter |
Enum Constant and Description |
---|
BUTT |
CIRCLE |
CLOSEDARROW |
DIAMOND |
NONE |
OPENARROW |
RCLOSEDARROW |
ROPENARROW |
SLASH |
SQUARE |
Modifier and Type | Method and Description |
---|---|
static LineEnding |
fromValue(java.lang.String text) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static LineEnding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineEnding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineEnding NONE
public static final LineEnding SQUARE
public static final LineEnding CIRCLE
public static final LineEnding DIAMOND
public static final LineEnding OPENARROW
public static final LineEnding CLOSEDARROW
public static final LineEnding BUTT
public static final LineEnding ROPENARROW
public static final LineEnding RCLOSEDARROW
public static final LineEnding SLASH
public static LineEnding[] values()
for (LineEnding c : LineEnding.values()) System.out.println(c);
public static LineEnding 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 java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<LineEnding>
public static LineEnding fromValue(java.lang.String text)