-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum Zip64ModeThe different modes ZipArchiveOutputStream can operate in.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AlwaysUse Zip64 extensions for all entries, even if it is clear it isnot required.
NeverDon't use Zip64 extensions for any entries.
This will cause a Zip64RequiredException to bethrown if ZipArchiveOutputStream detects it needs Zip64support.
AsNeededUse Zip64 extensions for all entries where they are required,don't use them for entries that clearly don't require them.
AlwaysWithCompatibilityAlways use Zip64 extensions for LFH and central directory as Always did, and at the meantime encodethe relative offset of LFH and disk number start as needed inCFH as AsNeeded did.
This is a compromise for some libraries including 7z andExpand-Archive Powershell utility(and likely Excel).
-