public enum OpenFileMode extends Enum<OpenFileMode>
Enum Constant and Description |
---|
ATTRIBUTES_ONLY |
DELETE |
READ_ONLY |
READ_WRITE |
WRITE_ONLY |
Modifier and Type | Method and Description |
---|---|
static OpenFileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenFileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenFileMode READ_ONLY
public static final OpenFileMode WRITE_ONLY
public static final OpenFileMode READ_WRITE
public static final OpenFileMode DELETE
public static final OpenFileMode ATTRIBUTES_ONLY
public static OpenFileMode[] values()
for (OpenFileMode c : OpenFileMode.values()) System.out.println(c);
public static OpenFileMode 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 © 2005–2017 Alfresco Software. All rights reserved.