Serializable
, Comparable<Adjust.Trim>
public static enum Adjust.Trim extends Enum<Adjust.Trim>
Enum Constant | Description |
---|---|
LEADING_WHITESPACE |
|
NEWLINES |
|
PUNCTUATION |
|
TRAILING_WHITESPACE |
|
WHITESPACE |
Modifier and Type | Method | Description |
---|---|---|
static Adjust.Trim |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Adjust.Trim[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Adjust.Trim WHITESPACE
public static final Adjust.Trim NEWLINES
public static final Adjust.Trim PUNCTUATION
public static final Adjust.Trim TRAILING_WHITESPACE
public static final Adjust.Trim LEADING_WHITESPACE
public static Adjust.Trim[] values()
for (Adjust.Trim c : Adjust.Trim.values()) System.out.println(c);
public static Adjust.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 © 2020. All rights reserved.