|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FileSharingMode>
org.virtualbox_5_1.FileSharingMode
public enum FileSharingMode
File sharing mode forIGuestSession.fileOpenEx(String,org.virtualbox_5_1.FileAccessMode,org.virtualbox_5_1.FileOpenAction,org.virtualbox_5_1.FileSharingMode,Long,List)
.
Interface ID: {F87DFE58-425B-C5BA-7D6D-22ADEEA25DE1}
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
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 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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static FileSharingMode fromValue(long v)
public static FileSharingMode fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |