public enum WriteMode extends Enum<WriteMode>
Enum Constant and Description |
---|
APPEND
Writes to an existing file will append to it.
|
CREATE_NEW
Writes to an existing file are an error.
|
OVERWRITE
Writes to an existing file will replace it.
|
Modifier and Type | Method and Description |
---|---|
static WriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteMode CREATE_NEW
public static final WriteMode OVERWRITE
public static final WriteMode APPEND
public static WriteMode[] values()
for (WriteMode c : WriteMode.values()) System.out.println(c);
public static WriteMode 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 nullCopyright © 2016 Actian Corporation. All rights reserved.