public enum TrailingSpaces extends Enum<TrailingSpaces>
Enum Constant and Description |
---|
KEEP_ALL |
KEEP_LINE_BREAK |
KEEP_NONE |
Modifier and Type | Method and Description |
---|---|
static TrailingSpaces |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrailingSpaces[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrailingSpaces KEEP_ALL
public static final TrailingSpaces KEEP_LINE_BREAK
public static final TrailingSpaces KEEP_NONE
public static TrailingSpaces[] values()
for (TrailingSpaces c : TrailingSpaces.values()) System.out.println(c);
public static TrailingSpaces 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 © 2017. All rights reserved.