| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<FileOpenAction>
org.virtualbox_7_1.FileOpenAction
public enum FileOpenAction
What actionIGuestSession.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)should take whether the file being opened exists or not.
Interface ID: {12BC97E2-4FC6-A8B4-4F84-0CBF4AB970D2}
| Enum Constant Summary | |
|---|---|
| AppendOrCreateOpens an existing file and places the file pointer at the end of the file, creates the file if it does not exist. | |
| CreateNewCreates a new file is no file exists, fails if there is a file there already. | |
| CreateOrReplaceCreates a new file, replace any existing file. | |
| OpenExistingOpens an existing file, fails if no file exists. | |
| OpenExistingTruncatedOpens and truncate an existing file, fails if no file exists. | |
| OpenOrCreateOpens an existing file, creates a new one if no file exists. | |
| Method Summary | |
|---|---|
| static FileOpenAction | fromValue(long v) | 
| static FileOpenAction | fromValue(java.lang.String v) | 
|  int | value() | 
| static FileOpenAction | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static FileOpenAction[] | 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 FileOpenAction OpenExisting
public static final FileOpenAction OpenOrCreate
public static final FileOpenAction CreateNew
public static final FileOpenAction CreateOrReplace
public static final FileOpenAction OpenExistingTruncated
public static final FileOpenAction AppendOrCreate
| Method Detail | 
|---|
public static FileOpenAction[] values()
for (FileOpenAction c : FileOpenAction.values()) System.out.println(c);
public static FileOpenAction 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 FileOpenAction fromValue(long v)
public static FileOpenAction fromValue(java.lang.String v)
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||