public static enum ZipOutputStreams.HandleDuplicates extends Enum<ZipOutputStreams.HandleDuplicates>
| Enum Constant and Description |
|---|
APPEND_TO_ZIP
Duplicate entries are simply appended to the zip.
|
OVERWRITE_EXISTING
A duplicate entry overwrites an existing entry with the same name.
|
THROW_EXCEPTION
An exception should be thrown if a duplicate entry is added to a zip.
|
| Modifier and Type | Method and Description |
|---|---|
static ZipOutputStreams.HandleDuplicates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZipOutputStreams.HandleDuplicates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipOutputStreams.HandleDuplicates APPEND_TO_ZIP
public static final ZipOutputStreams.HandleDuplicates THROW_EXCEPTION
public static final ZipOutputStreams.HandleDuplicates OVERWRITE_EXISTING
public static ZipOutputStreams.HandleDuplicates[] values()
for (ZipOutputStreams.HandleDuplicates c : ZipOutputStreams.HandleDuplicates.values()) System.out.println(c);
public static ZipOutputStreams.HandleDuplicates 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