public static enum FileManager.FileMode extends Enum<FileManager.FileMode>
| Enum Constant and Description |
|---|
READ_MODE |
READWRITE_MODE |
READWRITE_ODSYNC_MODE |
READWRITE_OSYNC_MODE |
| Modifier and Type | Method and Description |
|---|---|
String |
getModeValue() |
boolean |
isWritable() |
static FileManager.FileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileManager.FileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileManager.FileMode READ_MODE
public static final FileManager.FileMode READWRITE_MODE
public static final FileManager.FileMode READWRITE_ODSYNC_MODE
public static final FileManager.FileMode READWRITE_OSYNC_MODE
public static FileManager.FileMode[] values()
for (FileManager.FileMode c : FileManager.FileMode.values()) System.out.println(c);
public static FileManager.FileMode 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 String getModeValue()
public boolean isWritable()
Copyright © 2024. All rights reserved.