Uses of Enum
org.apache.commons.compress.archivers.zip.Zip64Mode
Packages that use Zip64Mode
Package
Description
Provides stream classes for reading and writing archives using the ZIP format.
-
Uses of Zip64Mode in org.apache.commons.compress.archivers.zip
Fields in org.apache.commons.compress.archivers.zip declared as Zip64ModeMethods in org.apache.commons.compress.archivers.zip that return Zip64ModeModifier and TypeMethodDescriptionprivate Zip64ModeZipArchiveOutputStream.getEffectiveZip64Mode(ZipArchiveEntry ze) If the mode is AsNeeded and the entry is a compressed entry of unknown size that gets written to a non-seekable stream then change the default to Never.static Zip64ModeReturns the enum constant of this type with the specified name.static Zip64Mode[]Zip64Mode.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.commons.compress.archivers.zip with parameters of type Zip64ModeModifier and TypeMethodDescriptionprivate booleanZipArchiveOutputStream.checkIfNeedsZip64(Zip64Mode effectiveMode) Verifies the sizes aren't too big in the Zip64Mode.Never case and returns whether the entry would require a Zip64 extra field.private booleanZipArchiveOutputStream.handleSizesAndCrc(long bytesWritten, long crc, Zip64Mode effectiveMode) Ensures the current entry's size and CRC information is set to the values just written, verifies it isn't too big in the Zip64Mode.Never case and returns whether the entry would require a Zip64 extra field.private booleanZipArchiveOutputStream.isZip64Required(ZipArchiveEntry entry1, Zip64Mode requestedMode) voidZipArchiveOutputStream.setUseZip64(Zip64Mode mode) Whether Zip64 extensions will be used.private booleanZipArchiveOutputStream.shouldAddZip64Extra(ZipArchiveEntry entry, Zip64Mode mode) Whether to add a Zip64 extended information extra field to the local file header.private voidZipArchiveOutputStream.validateSizeInformation(Zip64Mode effectiveMode) Throws an exception if the size is unknown for a stored entry that is written to a non-seekable output or the entry is too big to be written without Zip64 extra but the mode has been set to Never.