Sky View Café - Java

org.shetline.io
Enum UTF8.ErrorMode

java.lang.Object
  extended by java.lang.Enum<UTF8.ErrorMode>
      extended by org.shetline.io.UTF8.ErrorMode
All Implemented Interfaces:
Serializable, Comparable<UTF8.ErrorMode>
Enclosing class:
UTF8

public static enum UTF8.ErrorMode
extends Enum<UTF8.ErrorMode>


Enum Constant Summary
IGNORE
           
LOG
           
RETURN
           
THROW
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

Sky View Café - Java