public enum NFileShare extends Enum<NFileShare> implements NEnum
| Enum Constant and Description |
|---|
NONE
None.
|
READ
Read-only.
|
READ_WRITE
Read and write.
|
WRITE
Write-only.
|
| Modifier and Type | Method and Description |
|---|---|
static NFileShare |
get(int value)
Gets NFileShare specified by value.
|
int |
getValue()
Gets the value of the current object.
|
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NFileShare |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NFileShare[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NFileShare NONE
public static final NFileShare READ
public static final NFileShare WRITE
public static final NFileShare READ_WRITE
public static NFileShare[] values()
for (NFileShare c : NFileShare.values()) System.out.println(c);
public static NFileShare valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static NType nativeTypeOf()
public int getValue()
public static NFileShare get(int value)
value - Integer value.Copyright © 2016 Neurotechnology. All rights reserved.