Uses of Class
org.apache.commons.compress.archivers.zip.ZipLong
Packages that use ZipLong
Package
Description
Provides stream classes for reading and writing archives using the ZIP format.
-
Uses of ZipLong in org.apache.commons.compress.archivers.zip
Fields in org.apache.commons.compress.archivers.zip declared as ZipLongModifier and TypeFieldDescriptionprivate ZipLongX5455_ExtendedTimestamp.accessTimestatic final ZipLongZipLong.AED_SIGArchive extra data record signature.static final ZipLongZipLong.CFH_SIGCentral File Header Signatureprivate ZipLongX5455_ExtendedTimestamp.createTimestatic final ZipLongZipLong.DD_SIGData Descriptor signature.private ZipLongZip64ExtendedInformationExtraField.diskStartstatic final ZipLongZipLong.LFH_SIGLocal File Header Signatureprivate ZipLongX5455_ExtendedTimestamp.modifyTimestatic final ZipLongZipLong.SINGLE_SEGMENT_SPLIT_MARKERMarks ZIP archives that were supposed to be split or spanned but only needed a single segment in then end (so are actually neither split nor spanned).(package private) static final ZipLongZipLong.ZIP64_MAGICValue stored in size and similar fields if ZIP64 extensions are used.Methods in org.apache.commons.compress.archivers.zip that return ZipLongModifier and TypeMethodDescriptionprivate static ZipLongX5455_ExtendedTimestamp.dateToZipLong(Date d) Utility method converts java.util.Date (milliseconds since epoch) into a ZipLong (seconds since epoch).private static ZipLongX5455_ExtendedTimestamp.fileTimeToZipLong(FileTime time) Utility method convertsFileTimeinto a ZipLong (seconds since epoch).X5455_ExtendedTimestamp.getAccessTime()Gets the access time (seconds since epoch) of this ZIP entry as a ZipLong object, or null if no such timestamp exists in the ZIP entry.X5455_ExtendedTimestamp.getCreateTime()Gets the create time (seconds since epoch) of this ZIP entry as a ZipLong object, or null if no such timestamp exists in the ZIP entry.Zip64ExtendedInformationExtraField.getDiskStartNumber()The disk start number stored in this extra field.X5455_ExtendedTimestamp.getModifyTime()Gets the modify time (seconds since epoch) of this ZIP entry as a ZipLong object, or null if no such timestamp exists in the ZIP entry.static ZipLongConverts a Date object to a DOS date/time field.private static ZipLongX5455_ExtendedTimestamp.unixTimeToZipLong(long unixTime) Methods in org.apache.commons.compress.archivers.zip with parameters of type ZipLongModifier and TypeMethodDescriptionstatic DateZipUtil.fromDosTime(ZipLong zipDosTime) Converts a DOS date/time field to a Date object.private voidZipArchiveInputStream.processZip64Extra(ZipLong size, ZipLong cSize) Records whether a Zip64 extra is present and sets the size information from it if sizes are 0xFFFFFFFF and the entry doesn't use a data descriptor.voidX5455_ExtendedTimestamp.setAccessTime(ZipLong l) Sets the access time (seconds since epoch) of this ZIP entry using a ZipLong objectvoidX5455_ExtendedTimestamp.setCreateTime(ZipLong l) Sets the create time (seconds since epoch) of this ZIP entry using a ZipLong objectvoidZip64ExtendedInformationExtraField.setDiskStartNumber(ZipLong ds) The disk start number stored in this extra field.voidX5455_ExtendedTimestamp.setModifyTime(ZipLong l) Sets the modify time (seconds since epoch) of this ZIP entry using a ZipLong object.private static FileTimeX5455_ExtendedTimestamp.unixTimeToFileTime(ZipLong unixTime) private static DateX5455_ExtendedTimestamp.zipLongToDate(ZipLong unixTime) Constructors in org.apache.commons.compress.archivers.zip with parameters of type ZipLongModifierConstructorDescriptionZip64ExtendedInformationExtraField(ZipEightByteInteger size, ZipEightByteInteger compressedSize, ZipEightByteInteger relativeHeaderOffset, ZipLong diskStart) Creates an extra field based on all four possible values.