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 |
---|---|
static ZipLong |
ZipLong.AED_SIG
Archive extra data record signature.
|
static ZipLong |
ZipLong.CFH_SIG
Central File Header Signature
|
static ZipLong |
ZipLong.DD_SIG
Data Descriptor signature.
|
static ZipLong |
ZipLong.LFH_SIG
Local File Header Signature
|
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).
|
Modifier and Type | Method and Description |
---|---|
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(Date time)
Convert a Date object to a DOS date/time field.
|
Modifier and Type | Method and Description |
---|---|
static Date |
ZipUtil.fromDosTime(ZipLong zipDosTime)
Convert a DOS date/time field to a Date object.
|
void |
X5455_ExtendedTimestamp.setAccessTime(ZipLong l)
Sets the access time (seconds since epoch) of this zip entry
using a ZipLong object
Note: the setters for flags and timestamps are decoupled.
|
void |
X5455_ExtendedTimestamp.setCreateTime(ZipLong l)
Sets the create time (seconds since epoch) of this zip entry
using a ZipLong object
Note: the setters for flags and timestamps are decoupled.
|
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.
|
Constructor and Description |
---|
Zip64ExtendedInformationExtraField(ZipEightByteInteger size,
ZipEightByteInteger compressedSize,
ZipEightByteInteger relativeHeaderOffset,
ZipLong diskStart)
Creates an extra field based on all four possible values.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.