org.apache.commons.compress.archivers.zip
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 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 ZipArchiveOutputStream
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(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 nullCopyright © 2014 The Apache Software Foundation. All rights reserved.