org.xvolks.jnative.util
Enum Kernel32.CreationDisposition
java.lang.Object
java.lang.Enum<Kernel32.CreationDisposition>
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>
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 |
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
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()