Package | Description |
---|---|
org.apache.commons.compress.archivers.zip |
Provides stream classes for reading and writing archives using
the ZIP format.
|
Modifier and Type | Field and Description |
---|---|
private ZipLong |
X5455_ExtendedTimestamp.accessTime |
static ZipLong |
ZipLong.AED_SIG
Archive extra data record signature.
|
static ZipLong |
ZipLong.CFH_SIG
Central File Header Signature
|
private ZipLong |
X5455_ExtendedTimestamp.createTime |
static ZipLong |
ZipLong.DD_SIG
Data Descriptor signature.
|
private ZipLong |
Zip64ExtendedInformationExtraField.diskStart |
static ZipLong |
ZipLong.LFH_SIG
Local File Header Signature
|
private ZipLong |
X5455_ExtendedTimestamp.modifyTime |
static ZipLong |
ZipLong.SINGLE_SEGMENT_SPLIT_MARKER
Marks 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 ZipLong |
ZipLong.ZIP64_MAGIC
Value stored in size and similar fields if ZIP64 extensions are
used.
|
Modifier and Type | Method and Description |
---|---|
private static ZipLong |
X5455_ExtendedTimestamp.dateToZipLong(java.util.Date d)
Utility method converts java.util.Date (milliseconds since epoch)
into a ZipLong (seconds since epoch).
|
ZipLong |
X5455_ExtendedTimestamp.getAccessTime()
Returns 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.
|
ZipLong |
X5455_ExtendedTimestamp.getCreateTime()
Returns 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.
|
ZipLong |
Zip64ExtendedInformationExtraField.getDiskStartNumber()
The disk start number stored in this extra field.
|
ZipLong |
X5455_ExtendedTimestamp.getModifyTime()
Returns 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 ZipLong |
ZipUtil.toDosTime(java.util.Date time)
Convert a Date object to a DOS date/time field.
|
private static ZipLong |
X5455_ExtendedTimestamp.unixTimeToZipLong(long l) |
Modifier and Type | Method and Description |
---|---|
static java.util.Date |
ZipUtil.fromDosTime(ZipLong zipDosTime)
Convert a DOS date/time field to a Date object.
|
private void |
ZipArchiveInputStream.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.
|
void |
X5455_ExtendedTimestamp.setAccessTime(ZipLong l)
Sets the access time (seconds since epoch) of this zip entry
using a ZipLong object
|
void |
X5455_ExtendedTimestamp.setCreateTime(ZipLong l)
Sets the create time (seconds since epoch) of this zip entry
using a ZipLong object
|
void |
Zip64ExtendedInformationExtraField.setDiskStartNumber(ZipLong ds)
The disk start number stored in this extra field.
|
void |
X5455_ExtendedTimestamp.setModifyTime(ZipLong l)
Sets the modify time (seconds since epoch) of this zip entry
using a ZipLong object.
|
private static java.util.Date |
X5455_ExtendedTimestamp.zipLongToDate(ZipLong unixTime) |
Constructor and Description |
---|
Zip64ExtendedInformationExtraField(ZipEightByteInteger size,
ZipEightByteInteger compressedSize,
ZipEightByteInteger relativeHeaderOffset,
ZipLong diskStart)
Creates an extra field based on all four possible values.
|