Enum Zip64Mode
- All Implemented Interfaces:
Serializable
,Comparable<Zip64Mode>
The different modes
ZipArchiveOutputStream
can operate in.-
Enum Constant Summary
Enum ConstantDescriptionUse Zip64 extensions for all entries, even if it is clear it is not required.Use Zip64 extensions for all entries where they are required, don't use them for entries that clearly don't require them.Don't use Zip64 extensions for any entries. -
Method Summary
-
Enum Constant Details
-
Always
Use Zip64 extensions for all entries, even if it is clear it is not required. -
Never
Don't use Zip64 extensions for any entries.This will cause a
Zip64RequiredException
to be thrown ifZipArchiveOutputStream
detects it needs Zip64 support. -
AsNeeded
Use Zip64 extensions for all entries where they are required, don't use them for entries that clearly don't require them. -
AlwaysWithCompatibility
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-