public static enum LineWrappingHandler.LineWrappingOptions extends Enum<LineWrappingHandler.LineWrappingOptions>
Enum Constant and Description |
---|
IGNORE_FIRST_LINE
First line's indentation should NOT be checked.
|
NONE
First line's indentation should be checked.
|
Modifier and Type | Method and Description |
---|---|
static LineWrappingHandler.LineWrappingOptions |
ofBoolean(boolean val)
Builds enum value from boolean.
|
static LineWrappingHandler.LineWrappingOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineWrappingHandler.LineWrappingOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineWrappingHandler.LineWrappingOptions IGNORE_FIRST_LINE
public static final LineWrappingHandler.LineWrappingOptions NONE
public static LineWrappingHandler.LineWrappingOptions[] values()
for (LineWrappingHandler.LineWrappingOptions c : LineWrappingHandler.LineWrappingOptions.values()) System.out.println(c);
public static LineWrappingHandler.LineWrappingOptions 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 static LineWrappingHandler.LineWrappingOptions ofBoolean(boolean val)
val
- value.Copyright © 2001–2018. All rights reserved.