org.shetline.io
Enum UTF8.ErrorMode
java.lang.Object
java.lang.Enum<UTF8.ErrorMode>
org.shetline.io.UTF8.ErrorMode
- All Implemented Interfaces:
- Serializable, Comparable<UTF8.ErrorMode>
- Enclosing class:
- UTF8
public static enum UTF8.ErrorMode
- extends Enum<UTF8.ErrorMode>
Method Summary |
static UTF8.ErrorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UTF8.ErrorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
IGNORE
public static final UTF8.ErrorMode IGNORE
LOG
public static final UTF8.ErrorMode LOG
THROW
public static final UTF8.ErrorMode THROW
RETURN
public static final UTF8.ErrorMode RETURN
values
public static UTF8.ErrorMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (UTF8.ErrorMode c : UTF8.ErrorMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UTF8.ErrorMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null