public enum JPOverflowBehaviour extends Enum<JPOverflowBehaviour>
| Enum Constant and Description |
|---|
OVERFLOW_ANYWAY
Allow strings to overflow.
|
OVERFLOW_TRUNCATE
Truncate overflowing strings.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
toString() |
static JPOverflowBehaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JPOverflowBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JPOverflowBehaviour OVERFLOW_TRUNCATE
public static final JPOverflowBehaviour OVERFLOW_ANYWAY
public static JPOverflowBehaviour[] values()
for (JPOverflowBehaviour c : JPOverflowBehaviour.values()) System.out.println(c);
public static JPOverflowBehaviour 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 nullpublic String getName()
public String toString()
toString in class Enum<JPOverflowBehaviour>Copyright © 2016 <code@io7m.com> http://io7m.com