org.virtualbox_6_0
Enum FileSharingMode

java.lang.Object
  extended by java.lang.Enum<FileSharingMode>
      extended by org.virtualbox_6_0.FileSharingMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FileSharingMode>

public enum FileSharingMode
extends java.lang.Enum<FileSharingMode>

File sharing mode forIGuestSession.fileOpenEx(String,org.virtualbox_6_0.FileAccessMode,org.virtualbox_6_0.FileOpenAction,org.virtualbox_6_0.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

Read

public static final FileSharingMode Read
Only share read access to the file.


Write

public static final FileSharingMode Write
Only share write access to the file.


ReadWrite

public static final FileSharingMode ReadWrite
Share both read and write access to the file, but deny deletion.


Delete

public static final FileSharingMode Delete
Only share delete access, denying read and write.


ReadDelete

public static final FileSharingMode ReadDelete
Share read and delete access to the file, denying writing.


WriteDelete

public static final FileSharingMode WriteDelete
Share write and delete access to the file, denying reading.


All

public static final FileSharingMode All
Share all access, i.e. read, write and delete, to the file.

Method Detail

values

public static FileSharingMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FileSharingMode c : FileSharingMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FileSharingMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static FileSharingMode fromValue(long v)

fromValue

public static FileSharingMode fromValue(java.lang.String v)