public enum NFileMode extends Enum<NFileMode> implements NEnum
| Enum Constant and Description |
|---|
APPEND
Append file.
|
CREATE
Create file.
|
CREATE_NEW
Create new file.
|
OPEN
Open file.
|
OPEN_OR_CREATE
Open or create file.
|
TRUNCATE
Truncate file.
|
| Modifier and Type | Method and Description |
|---|---|
static NFileMode |
get(int value)
Gets NFileMode specified by value.
|
int |
getValue()
Gets the value of the current object.
|
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NFileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NFileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NFileMode CREATE_NEW
public static final NFileMode CREATE
public static final NFileMode OPEN
public static final NFileMode OPEN_OR_CREATE
public static final NFileMode TRUNCATE
public static final NFileMode APPEND
public static NFileMode[] values()
for (NFileMode c : NFileMode.values()) System.out.println(c);
public static NFileMode 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 NFileMode get(int value)
value - Integer value.Copyright © 2016 Neurotechnology. All rights reserved.