public enum StandardDeleteOption extends Enum<StandardDeleteOption> implements DeleteOption
Enum Constant and Description |
---|
OVERRIDE_READ_ONLY
Overrides the read-only attribute to allow deletion.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
overrideReadOnly(DeleteOption[] options)
Returns true if the given options contain
OVERRIDE_READ_ONLY . |
static StandardDeleteOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardDeleteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardDeleteOption OVERRIDE_READ_ONLY
public static StandardDeleteOption[] values()
for (StandardDeleteOption c : StandardDeleteOption.values()) System.out.println(c);
public static StandardDeleteOption 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 overrideReadOnly(DeleteOption[] options)
OVERRIDE_READ_ONLY
.
For now, assume the array is not sorted.options
- the array to testOVERRIDE_READ_ONLY
.Jas4pp 1.5 © Java Analysis Studio for Particle Physics