TrueZIP Driver ZIP 7.0

de.schlichtherle.truezip.zip
Interface ZipConstants


interface ZipConstants

A package private interface with some useful constants for ZIP archive files. Public classes must not implement this interface - otherwise the constants become part of the public API.

Author:
Christian Schlichtherle

Field Summary
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.
 

Field Detail

FORCE_ZIP64_EXT

static final boolean FORCE_ZIP64_EXT
This boolean field is set by the system property 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.


LFH_SIG

static final int LFH_SIG
Local File Header signature.

See Also:
Constant Field Values

DD_SIG

static final int DD_SIG
Data Descriptor signature.

See Also:
Constant Field Values

CFH_SIG

static final int CFH_SIG
Central File Header signature.

See Also:
Constant Field Values

EOCD_SIG

static final int EOCD_SIG
End Of Central Directory Record signature.

See Also:
Constant Field Values

ZIP64_EOCD_SIG

static final int ZIP64_EOCD_SIG
Zip64 End Of Central Directory Record.

See Also:
Constant Field Values

ZIP64_EOCDL_SIG

static final int ZIP64_EOCDL_SIG
Zip64 End Of Central Directory Locator.

See Also:
Constant Field Values

LFH_MIN_LEN

static final int LFH_MIN_LEN
The minimum length of the Local File Header record.

See Also:
Constant Field Values

CFH_MIN_LEN

static final int CFH_MIN_LEN
The minimum length of the Central File Header record.

See Also:
Constant Field Values

EOCD_MIN_LEN

static final int EOCD_MIN_LEN
The minimum length of the End Of Central Directory record.

See Also:
Constant Field Values

ZIP64_EOCD_MIN_LEN

static final int ZIP64_EOCD_MIN_LEN
The minimum length of the Zip64 End Of Central Directory record.

See Also:
Constant Field Values

ZIP64_EOCDL_LEN

static final int ZIP64_EOCDL_LEN
The length of the Zip64 End Of Central Directory Locator.

See Also:
Constant Field Values

UTF8

static final Charset UTF8

DEFAULT_CHARSET

static final Charset DEFAULT_CHARSET
The default character set used for entry names and comments in ZIP archive files. This is "UTF-8" for compatibility with Sun's JDK implementation. Note that you should use "IBM437" for ordinary ZIP archive files instead.


FLATER_BUF_LENGTH

static final int FLATER_BUF_LENGTH
The buffer size used for deflating and inflating. Optimized for reading and writing flash memory media.

See Also:
Constant Field Values

EMPTY

static final byte[] EMPTY
An empty byte array.


TrueZIP Driver ZIP 7.0

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.