org.virtualbox_6_1
Enum FileCopyFlag

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

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

File copying flags. NOTE: Not flags are implemented yet. Interface ID: {791909D7-4C64-2FA4-4303-ADB10658D347}


Enum Constant Summary
FollowLinks
          Follow symbolic links.
None
          No flag set.
NoReplace
          Do not replace the destination file if it exists.
Update
          Only copy when the source file is newer than the destination file or when the destination file is missing.
 
Method Summary
static FileCopyFlag fromValue(long v)
           
static FileCopyFlag fromValue(java.lang.String v)
           
 int value()
           
static FileCopyFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FileCopyFlag[] 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

None

public static final FileCopyFlag None
No flag set.


NoReplace

public static final FileCopyFlag NoReplace
Do not replace the destination file if it exists. NOTE: This flag is not implemented yet.


FollowLinks

public static final FileCopyFlag FollowLinks
Follow symbolic links. NOTE: This flag is not implemented yet.


Update

public static final FileCopyFlag Update
Only copy when the source file is newer than the destination file or when the destination file is missing. NOTE: This flag is not implemented yet.

Method Detail

values

public static FileCopyFlag[] 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 (FileCopyFlag c : FileCopyFlag.values())
    System.out.println(c);

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

valueOf

public static FileCopyFlag 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 FileCopyFlag fromValue(long v)

fromValue

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