public enum Zip64Mode extends 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(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 AsNeeded
public static final Zip64Mode Never
This will cause a Zip64RequiredException
to be
thrown if ZipOutputStream
detects it needs Zip64
support.
public static Zip64Mode 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 nullpublic static Zip64Mode[] values()
for (Zip64Mode c : Zip64Mode.values()) System.out.println(c);