final class Constants extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
CFH_MIN_LEN
The minimum length of the Central File Header record.
|
(package private) static int |
CFH_SIG
Central File Header signature.
|
(package private) static int |
DD_SIG
Data Descriptor signature.
|
(package private) static Charset |
DEFAULT_CHARSET
The default character set used for entry names and comments in ZIP
archive files.
|
(package private) static byte[] |
EMPTY
An empty byte array.
|
(package private) static int |
EOCDR_MIN_LEN
The minimum length of the End Of Central Directory Record.
|
(package private) static int |
EOCDR_SIG
End Of Central Directory Record signature.
|
(package private) static boolean |
FORCE_ZIP64_EXT
This boolean field is set by the system property
de.schlichtherle.truezip.zip.forceZip64Ext. |
(package private) static int |
LFH_MIN_LEN
The minimum length of the Local File Header record.
|
(package private) static int |
LFH_SIG
Local File Header signature.
|
(package private) static int |
MAX_FLATER_BUF_LENGTH
The maximum buffer size used for deflating and inflating.
|
(package private) static int |
MIN_FLATER_BUF_LENGTH
The minimum buffer size used for deflating and inflating.
|
(package private) static Charset |
UTF8 |
(package private) static int |
ZIP64_EOCDL_LEN
The length of the Zip64 End Of Central Directory Locator.
|
(package private) static int |
ZIP64_EOCDL_SIG
Zip64 End Of Central Directory Locator.
|
(package private) static int |
ZIP64_EOCDR_MIN_LEN
The minimum length of the Zip64 End Of Central Directory Record.
|
(package private) static int |
ZIP64_EOCDR_SIG
Zip64 End Of Central Directory Record.
|
| Modifier | Constructor and Description |
|---|---|
private |
Constants() |
static final int CFH_MIN_LEN
static final int CFH_SIG
static final int DD_SIG
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 byte[] EMPTY
static final int EOCDR_MIN_LEN
static final int EOCDR_SIG
static final boolean FORCE_ZIP64_EXT
de.schlichtherle.truezip.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_MIN_LEN
static final int LFH_SIG
static final int MAX_FLATER_BUF_LENGTH
static final int MIN_FLATER_BUF_LENGTH
static final Charset UTF8
static final int ZIP64_EOCDL_LEN
static final int ZIP64_EOCDL_SIG
static final int ZIP64_EOCDR_MIN_LEN
static final int ZIP64_EOCDR_SIG
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.