|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FileAccessMode>
org.virtualbox_6_0.FileAccessMode
public enum FileAccessMode
File open access mode for use withIGuestSession.fileOpen(String,org.virtualbox_6_0.FileAccessMode,org.virtualbox_6_0.FileOpenAction,Long)
andIGuestSession.fileOpenEx(String,org.virtualbox_6_0.FileAccessMode,org.virtualbox_6_0.FileOpenAction,org.virtualbox_6_0.FileSharingMode,Long,List)
.
Interface ID: {231A578F-47FB-EA30-3B3E-8489558227F0}
Enum Constant Summary | |
---|---|
AppendOnly
Open the file for appending only, no read or seek access. |
|
AppendRead
Open the file for appending and read. |
|
ReadOnly
Open the file only with read access. |
|
ReadWrite
Open the file with both read and write access. |
|
WriteOnly
Open the file only with write access. |
Method Summary | |
---|---|
static FileAccessMode |
fromValue(long v)
|
static FileAccessMode |
fromValue(java.lang.String v)
|
int |
value()
|
static FileAccessMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FileAccessMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FileAccessMode ReadOnly
public static final FileAccessMode WriteOnly
public static final FileAccessMode ReadWrite
public static final FileAccessMode AppendOnly
public static final FileAccessMode AppendRead
Method Detail |
---|
public static FileAccessMode[] values()
for (FileAccessMode c : FileAccessMode.values()) System.out.println(c);
public static FileAccessMode 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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static FileAccessMode fromValue(long v)
public static FileAccessMode fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |