public static enum FileTransformerConfiguration.FileWriteOption extends Enum<FileTransformerConfiguration.FileWriteOption>
| Enum Constant and Description |
|---|
CREATE_NEW
Always create a new file.
|
CREATE_OR_APPEND_TO_EXISTING
Create a new file if it doesn't exist, otherwise append to the existing file.
|
CREATE_OR_REPLACE_EXISTING
Create a new file if it doesn't exist, otherwise replace the existing file.
|
| Modifier and Type | Method and Description |
|---|---|
static FileTransformerConfiguration.FileWriteOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileTransformerConfiguration.FileWriteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileTransformerConfiguration.FileWriteOption CREATE_NEW
FileAlreadyExistsException will be thrown.public static final FileTransformerConfiguration.FileWriteOption CREATE_OR_REPLACE_EXISTING
public static final FileTransformerConfiguration.FileWriteOption CREATE_OR_APPEND_TO_EXISTING
public static FileTransformerConfiguration.FileWriteOption[] values()
for (FileTransformerConfiguration.FileWriteOption c : FileTransformerConfiguration.FileWriteOption.values()) System.out.println(c);
public static FileTransformerConfiguration.FileWriteOption 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 © 2022. All rights reserved.