protected static enum AbstractFormattedWalker.Trim extends Enum<AbstractFormattedWalker.Trim>
Enum Constant and Description |
---|
BOTH
Both Trim
|
COMPACT
Trim Both and replace all internal whitespace with a single space
|
LEFT
Left Trim
|
NONE
No Trimming at all
|
RIGHT
Right Trim
|
Modifier and Type | Method and Description |
---|---|
static AbstractFormattedWalker.Trim |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractFormattedWalker.Trim[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractFormattedWalker.Trim LEFT
public static final AbstractFormattedWalker.Trim RIGHT
public static final AbstractFormattedWalker.Trim BOTH
public static final AbstractFormattedWalker.Trim COMPACT
public static final AbstractFormattedWalker.Trim NONE
public static AbstractFormattedWalker.Trim[] values()
for (AbstractFormattedWalker.Trim c : AbstractFormattedWalker.Trim.values()) System.out.println(c);
public static AbstractFormattedWalker.Trim 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 nullCopyright ? 2016 Jason Hunter, Brett McLaughlin. All Rights Reserved.