public enum JPRAStringTruncation extends Enum<JPRAStringTruncation>
| Enum Constant and Description |
|---|
REJECT
Reject the string rather than truncating.
|
TRUNCATE
Truncate the given string.
|
| Modifier and Type | Method and Description |
|---|---|
static JPRAStringTruncation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JPRAStringTruncation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JPRAStringTruncation TRUNCATE
public static final JPRAStringTruncation REJECT
public static JPRAStringTruncation[] values()
for (JPRAStringTruncation c : JPRAStringTruncation.values()) System.out.println(c);
public static JPRAStringTruncation 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 © 2016 <code@io7m.com> http://io7m.com