Sky View Café - Java

org.shetline.io
Enum UTF8.LengthMode

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

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


Enum Constant Summary
ANY_CTRL
           
EOL
           
FOUR_BYTE_LENGTH
           
NONE
           
NULL_CHAR
           
ONE_BYTE_LENGTH
           
TWO_BYTE_LENGTH
           
 
Method Summary
static UTF8.LengthMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UTF8.LengthMode[] 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

NONE

public static final UTF8.LengthMode NONE

ONE_BYTE_LENGTH

public static final UTF8.LengthMode ONE_BYTE_LENGTH

TWO_BYTE_LENGTH

public static final UTF8.LengthMode TWO_BYTE_LENGTH

FOUR_BYTE_LENGTH

public static final UTF8.LengthMode FOUR_BYTE_LENGTH

EOL

public static final UTF8.LengthMode EOL

NULL_CHAR

public static final UTF8.LengthMode NULL_CHAR

ANY_CTRL

public static final UTF8.LengthMode ANY_CTRL
Method Detail

values

public static UTF8.LengthMode[] 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.LengthMode c : UTF8.LengthMode.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.LengthMode 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