public enum StandardDeleteOption extends java.lang.Enum<StandardDeleteOption> implements DeleteOption
| Enum Constant and Description |
|---|
OVERRIDE_READ_ONLY
Overrides the read-only attribute to allow deletion, on POSIX, this means Write and Execute on the parent.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
overrideReadOnly(DeleteOption[] options)
Returns true if the given options contain
OVERRIDE_READ_ONLY. |
static StandardDeleteOption |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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.Copyright © 2010 - 2023 Adobe. All Rights Reserved