JNative v1.3 project : see http://jnative.sf.net


org.xvolks.jnative.util
Enum Kernel32.CreationDisposition

java.lang.Object
  extended by java.lang.Enum<Kernel32.CreationDisposition>
      extended by org.xvolks.jnative.util.Kernel32.CreationDisposition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Kernel32.CreationDisposition>
Enclosing class:
Kernel32

public static enum Kernel32.CreationDisposition
extends java.lang.Enum<Kernel32.CreationDisposition>


Enum Constant Summary
CREATE_ALWAYS
           
CREATE_NEW
           
OPEN_ALWAYS
           
OPEN_EXISTING
           
TRUNCATE_EXISTING
           
 
Method Summary
 int getValue()
           
static Kernel32.CreationDisposition valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Kernel32.CreationDisposition[] 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

CREATE_NEW

public static final Kernel32.CreationDisposition CREATE_NEW

CREATE_ALWAYS

public static final Kernel32.CreationDisposition CREATE_ALWAYS

OPEN_EXISTING

public static final Kernel32.CreationDisposition OPEN_EXISTING

OPEN_ALWAYS

public static final Kernel32.CreationDisposition OPEN_ALWAYS

TRUNCATE_EXISTING

public static final Kernel32.CreationDisposition TRUNCATE_EXISTING
Method Detail

values

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

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

valueOf

public static Kernel32.CreationDisposition 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

getValue

public int getValue()

JNative v1.3 project : see http://jnative.sf.net