public static enum Files.ExtendedOption extends java.lang.Enum<Files.ExtendedOption> implements java.nio.file.CopyOption
CopyOption values accepted by Files. Use of these options on
Files method may cause those methods to fail.| Enum Constant and Description |
|---|
DEEP_COPY
Indicates that, during recursive copy, linked content outside of the source tree should be copied
and not linked.
|
NOSPAN_FILESTORES
Indicates that copying source files from different
FileStore instances
is not permitted. |
RECURSIVE
Recursively copy a directory and its content.
|
| Modifier and Type | Method and Description |
|---|---|
static Files.ExtendedOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Files.ExtendedOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Files.ExtendedOption RECURSIVE
public static final Files.ExtendedOption NOSPAN_FILESTORES
FileStore instances
is not permitted.public static final Files.ExtendedOption DEEP_COPY
public static Files.ExtendedOption[] values()
for (Files.ExtendedOption c : Files.ExtendedOption.values()) System.out.println(c);
public static Files.ExtendedOption 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 nullCopyright © 2022. All rights reserved.