public enum CopyFileFlag extends java.lang.Enum<CopyFileFlag>
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final CopyFileFlag None
public static final CopyFileFlag Recursive
public static final CopyFileFlag Update
public static final CopyFileFlag FollowLinks
public static CopyFileFlag[] values()
for (CopyFileFlag c : CopyFileFlag.values()) System.out.println(c);
public static CopyFileFlag 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 namejava.lang.NullPointerException - if the argument is nullpublic int value()
public static CopyFileFlag fromValue(long v)
public static CopyFileFlag fromValue(java.lang.String v)