com.morpho.morphosmart.sdk
Enum Coder

java.lang.Object
  extended by java.lang.Enum<Coder>
      extended by com.morpho.morphosmart.sdk.Coder
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Coder>

public enum Coder
extends java.lang.Enum<Coder>

This class store different possible values of a coding algorithm.


Enum Constant Summary
MORPHO_DEFAULT_CODER
          Default coder, this setting exists since the 08.04 firmware version and allow the MorphoSmartâ„¢ to keep its default choice.
MORPHO_MSO_V9_CODER
          Standard coder selection (this is the default choice).
MORPHO_MSO_V9_JUV_CODER
          Juvenile coder selection.
MORPHO_MSO_V9_THIN_FINGER_CODER
          Thin finger coder selection.
 
Method Summary
static Coder fromString(java.lang.String label)
           
 int getCode()
           
 java.lang.String getLabel()
           
static Coder valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Coder[] 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

MORPHO_DEFAULT_CODER

public static final Coder MORPHO_DEFAULT_CODER
Default coder, this setting exists since the 08.04 firmware version and allow the MorphoSmartâ„¢ to keep its default choice.


MORPHO_MSO_V9_CODER

public static final Coder MORPHO_MSO_V9_CODER
Standard coder selection (this is the default choice).


MORPHO_MSO_V9_JUV_CODER

public static final Coder MORPHO_MSO_V9_JUV_CODER
Juvenile coder selection.


MORPHO_MSO_V9_THIN_FINGER_CODER

public static final Coder MORPHO_MSO_V9_THIN_FINGER_CODER
Thin finger coder selection.

Method Detail

values

public static Coder[] 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 (Coder c : Coder.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Coder valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCode

public int getCode()
Returns:
code integer

getLabel

public java.lang.String getLabel()
Returns:
label string

fromString

public static Coder fromString(java.lang.String label)