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


org.xvolks.jnative.util
Enum Kernel32.ShareMode

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

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


Enum Constant Summary
FILE_SHARE_DELETE
           
FILE_SHARE_READ
           
FILE_SHARE_VALID_FLAGS
           
FILE_SHARE_WRITE
           
 
Method Summary
 int getValue()
           
static Kernel32.ShareMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Kernel32.ShareMode[] 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

FILE_SHARE_READ

public static final Kernel32.ShareMode FILE_SHARE_READ

FILE_SHARE_WRITE

public static final Kernel32.ShareMode FILE_SHARE_WRITE

FILE_SHARE_DELETE

public static final Kernel32.ShareMode FILE_SHARE_DELETE

FILE_SHARE_VALID_FLAGS

public static final Kernel32.ShareMode FILE_SHARE_VALID_FLAGS
Method Detail

values

public static Kernel32.ShareMode[] 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.ShareMode c : Kernel32.ShareMode.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.ShareMode 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