public static enum ControlField.Type extends Enum<ControlField.Type>
Enum Constant and Description |
---|
FOLDED
Value on multiple lines, space characters are ignored
|
MULTILINE
Value on multiple lines, space characters are preserved
|
SIMPLE
Value on a single line
|
Modifier and Type | Method and Description |
---|---|
static ControlField.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlField.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlField.Type SIMPLE
public static final ControlField.Type FOLDED
public static final ControlField.Type MULTILINE
public static ControlField.Type[] values()
for (ControlField.Type c : ControlField.Type.values()) System.out.println(c);
public static ControlField.Type 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 © 2018. All rights reserved.