public enum FileWriteMode extends Enum<FileWriteMode>
| Enum Constant and Description |
|---|
APPEND
Means that if the file to be written already exists, then the content should be appended to that file
|
CREATE_NEW
Means that a new file should be created and an error should be raised if the file already exists
|
OVERWRITE
Means that if the file to be written already exists, then it should be overwritten
|
| Modifier and Type | Method and Description |
|---|---|
static FileWriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileWriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileWriteMode OVERWRITE
public static final FileWriteMode APPEND
public static final FileWriteMode CREATE_NEW
public static FileWriteMode[] values()
for (FileWriteMode c : FileWriteMode.values()) System.out.println(c);
public static FileWriteMode 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 © 2003–2017 MuleSoft, Inc.. All rights reserved.