Top Interfaces Classes Enums
[default module]

Package org.apache.tools.zip


Interface Summary

Modifier and TypeInterface and Description
public interface
CentralDirectoryParsingZipExtraField

ZipExtraField that knows how to parse central directory data.

public interface
UnixStat

Constants from stat.h on Unix systems.

public interface
ZipEncoding

An interface for encoders that do a pretty encoding of ZIP filenames.

public interface
ZipExtraField

General format of extra field data.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractUnicodeExtraField

A common base class for Unicode extra information extra fields.

public class
AsiExtraField

Adds Unix file permission and UID/GID fields as well as symbolic link handling.

public class
ExtraFieldUtils

ZipExtraField related methods

pack-priv class
FallbackZipEncoding

A fallback ZipEncoding, which uses a java.io means to encode names.

public class
GeneralPurposeBit

Parser/encoder for the "general purpose bit" field in ZIP's local file and central directory headers.

public class
JarMarker

If this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file.

pack-priv class
NioZipEncoding

A ZipEncoding, which uses a java.nio Charset to encode names.

pack-priv class
Simple8BitZipEncoding

This ZipEncoding implementation implements a simple 8 bit character set, which meets the following restrictions:

  • Characters 0x0000 to 0x007f are encoded as the corresponding byte values 0x00 to 0x7f.
  • All byte codes from 0x80 to 0xff are mapped to a unique Unicode character in the range 0x0080 to 0x7fff. (No support for UTF-16 surrogates)
public class
UnicodeCommentExtraField

Info-ZIP Unicode Comment Extra Field (0x6375):

Stores the UTF-8 version of the file comment as stored in the central directory header.

public class
UnicodePathExtraField

Info-ZIP Unicode Path Extra Field (0x7075):

Stores the UTF-8 version of the file name field as stored in the local header and central directory header.

public class
UnparseableExtraFieldData

Wrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data.

public class
UnrecognizedExtraField

Simple placeholder for all those extra fields we don't want to deal with.

public class
UnsupportedZipFeatureException

Exception thrown when attempting to read or write data for a zip entry that uses ZIP features not supported by this library.

public class
Zip64ExtendedInformationExtraField

Holds size and other extended information for entries that use Zip64 features.

public class
Zip64RequiredException

Exception thrown when attempting to write data that requires Zip64 support to an archive and UseZip64 has been set to Never.

pack-priv class
ZipConstants

Various constants used throughout the package.

public class
ZipEightByteInteger

Utility class that represents an eight byte integer with conversion rules for the big endian byte order of ZIP files.

public abstract class
ZipEncodingHelper

Static helper functions for robustly encoding filenames in zip files.

public class
ZipEntry

Extension that adds better handling of extra fields and provides access to the internal and external file attributes.

public class
ZipFile

Replacement for java.util.ZipFile.

public class
ZipLong

Utility class that represents a four byte integer with conversion rules for the big endian byte order of ZIP files.

public class
ZipOutputStream

Reimplementation of java.util.zip.ZipOutputStream that does handle the extended functionality of this package, especially internal/external file attributes and extra fields with different layouts for local file data and central directory entries.

public class
ZipShort

Utility class that represents a two byte integer with conversion rules for the big endian byte order of ZIP files.

public abstract class
ZipUtil

Utility class for handling DOS and Java time conversions.

Enum Summary

Modifier and TypeEnum and Description
public enum
Zip64Mode

The different modes ZipOutputStream can operate in.