public enum FileAccessMode extends java.lang.Enum<FileAccessMode>
IGuestSession.fileOpen(String,org.virtualbox_7_1.FileAccessMode,org.virtualbox_7_1.FileOpenAction,Long)andIGuestSession.fileOpenEx(String,org.virtualbox_7_1.FileAccessMode,org.virtualbox_7_1.FileOpenAction,org.virtualbox_7_1.FileSharingMode,Long,List).
Interface ID: {231A578F-47FB-EA30-3B3E-8489558227F0}| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 namejava.lang.NullPointerException - if the argument is nullpublic int value()
public static FileAccessMode fromValue(long v)
public static FileAccessMode fromValue(java.lang.String v)