public enum DeleteOption extends Enum<DeleteOption>
Enum Constant and Description |
---|
RECURSIVE
Recursively delete directory contents
|
WIPE
First overwrite file with 0's, then delete
|
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(DeleteOption[] options,
DeleteOption option) |
static DeleteOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeleteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeleteOption RECURSIVE
public static final DeleteOption WIPE
public static DeleteOption[] values()
for (DeleteOption c : DeleteOption.values()) System.out.println(c);
public static DeleteOption 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 boolean contains(DeleteOption[] options, DeleteOption option)