Uses of Class
org.apache.commons.compress.archivers.zip.Zip64Mode
-
Packages that use Zip64Mode Package Description org.apache.commons.compress.archivers.zip 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 Zip64Mode Modifier and Type Field Description private Zip64ModeZipArchiveOutputStream. zip64ModeMethods in org.apache.commons.compress.archivers.zip that return Zip64Mode Modifier and Type Method Description private 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 Zip64ModeZip64Mode. valueOf(java.lang.String name)Returns 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 Zip64Mode Modifier and Type Method Description private 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.
-