public static enum NFS.OpenMode extends java.lang.Enum<NFS.OpenMode>
Enum Constant and Description |
---|
APPEND |
OVER_WRITE |
READ |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static NFS.OpenMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NFS.OpenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NFS.OpenMode OVER_WRITE
public static final NFS.OpenMode APPEND
public static final NFS.OpenMode READ
public static NFS.OpenMode[] values()
for (NFS.OpenMode c : NFS.OpenMode.values()) System.out.println(c);
public static NFS.OpenMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()