public enum ExistingFileMode extends Enum<ExistingFileMode>
Enum Constant and Description |
---|
OVERWRITE
Just overwrite existing files.
|
OVERWRITE_AND_CLEAN_DIRECTORIES
Overwrite existing files, and make sure that directories do not have any extra files that are
not in the archive
|
Modifier and Type | Method and Description |
---|---|
static ExistingFileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExistingFileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExistingFileMode OVERWRITE
public static final ExistingFileMode OVERWRITE_AND_CLEAN_DIRECTORIES
public static ExistingFileMode[] values()
for (ExistingFileMode c : ExistingFileMode.values()) System.out.println(c);
public static ExistingFileMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null