public static enum Mode.CharPadding extends java.lang.Enum<Mode.CharPadding>
Enum Constant and Description |
---|
ALWAYS
CHAR values are always right-padded with spaces.
|
IN_RESULT_SETS
Spaces are trimmed from the right side of CHAR values, but CHAR
values in result sets are right-padded with spaces to the declared
length
|
NEVER
Spaces are trimmed from the right side of CHAR values.
|
Modifier and Type | Method and Description |
---|---|
static Mode.CharPadding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mode.CharPadding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mode.CharPadding ALWAYS
public static final Mode.CharPadding IN_RESULT_SETS
public static final Mode.CharPadding NEVER
public static Mode.CharPadding[] values()
for (Mode.CharPadding c : Mode.CharPadding.values()) System.out.println(c);
public static Mode.CharPadding valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null