public static enum FileManager.FileMode extends java.lang.Enum<FileManager.FileMode>
Enum Constant and Description |
---|
READ_MODE |
READWRITE_MODE |
READWRITE_ODSYNC_MODE |
READWRITE_OSYNC_MODE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getModeValue() |
boolean |
isWritable() |
static FileManager.FileMode |
valueOf(java.lang.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(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 java.lang.String getModeValue()
public boolean isWritable()
Copyright (c) 2004-2012 Oracle. All rights reserved.