public enum FileSharingMode extends java.lang.Enum<FileSharingMode>
IGuestSession.fileOpenEx(String,org.virtualbox_6_1.FileAccessMode,org.virtualbox_6_1.FileOpenAction,org.virtualbox_6_1.FileSharingMode,Long,List)
.
Interface ID: {F87DFE58-425B-C5BA-7D6D-22ADEEA25DE1}Enum Constant and Description |
---|
All
Share all access, i.e.
|
Delete
Only share delete access, denying read and write.
|
Read
Only share read access to the file.
|
ReadDelete
Share read and delete access to the file, denying writing.
|
ReadWrite
Share both read and write access to the file, but deny deletion.
|
Write
Only share write access to the file.
|
WriteDelete
Share write and delete access to the file, denying reading.
|
Modifier and Type | Method and Description |
---|---|
static FileSharingMode |
fromValue(long v) |
static FileSharingMode |
fromValue(java.lang.String v) |
int |
value() |
static FileSharingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileSharingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSharingMode Read
public static final FileSharingMode Write
public static final FileSharingMode ReadWrite
public static final FileSharingMode Delete
public static final FileSharingMode ReadDelete
public static final FileSharingMode WriteDelete
public static final FileSharingMode All
public static FileSharingMode[] values()
for (FileSharingMode c : FileSharingMode.values()) System.out.println(c);
public static FileSharingMode 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 FileSharingMode fromValue(long v)
public static FileSharingMode fromValue(java.lang.String v)