[ini4j]

org.ini4j.demo
Enum DemoModel.Mode

Object
  extended by Enum<DemoModel.Mode>
      extended by DemoModel.Mode
All Implemented Interfaces:
Serializable, Comparable<DemoModel.Mode>
Enclosing class:
DemoModel

public static enum DemoModel.Mode
extends Enum<DemoModel.Mode>


Enum Constant Summary
INI
           
OPTIONS
           
REG
           
 
Method Summary
static DemoModel.Mode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DemoModel.Mode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INI

public static final DemoModel.Mode INI

REG

public static final DemoModel.Mode REG

OPTIONS

public static final DemoModel.Mode OPTIONS
Method Detail

values

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

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

valueOf

public static DemoModel.Mode 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

[ini4j]