public enum Zip64Mode extends Enum<Zip64Mode >
ZipArchiveOutputStream can operate in.
| Enum Constant and Description |
|---|
Always
Use Zip64 extensions for all entries, even if it is clear it is not required.
|
AsNeeded
Use Zip64 extensions for all entries where they are required, don't use them for entries that clearly don't require them.
|
Never
Don't use Zip64 extensions for any entries.
|
| Modifier and Type | Method and Description |
|---|---|
static Zip64Mode |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static Zip64Mode |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Zip64ModeAlways
public static final Zip64ModeNever
This will cause a Zip64RequiredException to be thrown if ZipArchiveOutputStream detects it needs Zip64 support.
public static final Zip64ModeAsNeeded
public static Zip64Mode[] values()
for (Zip64Mode c : Zip64Mode.values()) System.out.println(c);
public static Zip64ModevalueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null