public enum Zip64Mode extends java.lang.Enum<Zip64Mode>
ZipOutputStream
can operate in.ZipOutputStream.setUseZip64(org.apache.tools.zip.Zip64Mode)
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(java.lang.String name)
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 Zip64Mode Always
public static final Zip64Mode Never
This will cause a Zip64RequiredException
to be
thrown if ZipOutputStream
detects it needs Zip64
support.
public static final Zip64Mode AsNeeded
public static Zip64Mode[] values()
for (Zip64Mode c : Zip64Mode.values()) System.out.println(c);
public static Zip64Mode 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 null