interface ZipConstants
| Modifier and Type | Field and Description |
|---|---|
static int |
CFH_MIN_LEN
The minimum length of the Central File Header record.
|
static int |
CFH_SIG
Central File Header signature.
|
static int |
DD_SIG
Data Descriptor signature.
|
static Charset |
DEFAULT_CHARSET
The default character set used for entry names and comments in ZIP
archive files.
|
static byte[] |
EMPTY
An empty byte array.
|
static int |
EOCD_MIN_LEN
The minimum length of the End Of Central Directory record.
|
static int |
EOCD_SIG
End Of Central Directory Record signature.
|
static int |
FLATER_BUF_LENGTH
The buffer size used for deflating and inflating.
|
static boolean |
FORCE_ZIP64_EXT
This boolean field is set by the system property
de.schlichtherle.truezip.io.zip.forceZIP64Ext. |
static int |
LFH_MIN_LEN
The minimum length of the Local File Header record.
|
static int |
LFH_SIG
Local File Header signature.
|
static Charset |
UTF8 |
static int |
ZIP64_EOCD_MIN_LEN
The minimum length of the Zip64 End Of Central Directory record.
|
static int |
ZIP64_EOCD_SIG
Zip64 End Of Central Directory Record.
|
static int |
ZIP64_EOCDL_LEN
The length of the Zip64 End Of Central Directory Locator.
|
static int |
ZIP64_EOCDL_SIG
Zip64 End Of Central Directory Locator.
|
static final boolean FORCE_ZIP64_EXT
de.schlichtherle.truezip.io.zip.forceZIP64Ext.
If this property is set to true (case is ignored),
then ZIP64 extensions are always added when writing a ZIP file,
regardless of its size.
This system property is intended for testing purposes only.
During normal operations, it should not be set as many
third party tools would not treat the redundant ZIP64 extensions
correctly.
Note that it's impossible to inhibit ZIP64 extensions if they are
required.static final int LFH_SIG
static final int DD_SIG
static final int CFH_SIG
static final int EOCD_SIG
static final int ZIP64_EOCD_SIG
static final int ZIP64_EOCDL_SIG
static final int LFH_MIN_LEN
static final int CFH_MIN_LEN
static final int EOCD_MIN_LEN
static final int ZIP64_EOCD_MIN_LEN
static final int ZIP64_EOCDL_LEN
static final Charset UTF8
static final Charset DEFAULT_CHARSET
"UTF-8" for compatibility with Sun's JDK implementation.
Note that you should use "IBM437" for ordinary ZIP archive
files instead.static final int FLATER_BUF_LENGTH
static final byte[] EMPTY
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.