Enum LineAppendable.Options
- java.lang.Object
-
- java.lang.Enum<LineAppendable.Options>
-
- com.vladsch.flexmark.util.sequence.LineAppendable.Options
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LineAppendable.Options>
- Enclosing interface:
- LineAppendable
public static enum LineAppendable.Options extends java.lang.Enum<LineAppendable.Options>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLAPSE_WHITESPACE
CONVERT_TABS
PASS_THROUGH
PREFIX_PRE_FORMATTED
TRIM_LEADING_EOL
TRIM_LEADING_WHITESPACE
TRIM_TRAILING_WHITESPACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LineAppendable.Options
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LineAppendable.Options[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONVERT_TABS
public static final LineAppendable.Options CONVERT_TABS
-
COLLAPSE_WHITESPACE
public static final LineAppendable.Options COLLAPSE_WHITESPACE
-
TRIM_TRAILING_WHITESPACE
public static final LineAppendable.Options TRIM_TRAILING_WHITESPACE
-
PASS_THROUGH
public static final LineAppendable.Options PASS_THROUGH
-
TRIM_LEADING_WHITESPACE
public static final LineAppendable.Options TRIM_LEADING_WHITESPACE
-
TRIM_LEADING_EOL
public static final LineAppendable.Options TRIM_LEADING_EOL
-
PREFIX_PRE_FORMATTED
public static final LineAppendable.Options PREFIX_PRE_FORMATTED
-
-
Method Detail
-
values
public static LineAppendable.Options[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LineAppendable.Options c : LineAppendable.Options.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LineAppendable.Options valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-