org.virtualbox_4_1
Enum CopyFileFlag

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

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

Host/Guest copy flags. At the moment none of these flags are implemented. Interface ID: {23F79FDF-738A-493D-B80B-42D607C9B916}


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


Recursive

public static final CopyFileFlag Recursive
Copy directories recursively.


Update

public static final CopyFileFlag Update
Only copy when the source file is newer than the destination file or when the destination file is missing.


FollowLinks

public static final CopyFileFlag FollowLinks
Follow symbolic links.

Method Detail

values

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

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

valueOf

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

fromValue

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