org.apache.commons.compress.archivers.zip

Class ZipArchive

public class ZipArchive extends AbstractArchive

Archive-Implementation for Zip.
Field Summary
static StringARCHIVER_NAME
ARCHIVER_NAME Field for this archiver.
static intBUFFER
static StringDEFAULT_FILE_EXTENSION
DEFAULT_FILE_EXTENSION Field for this archiver.
static byte[]HEADER
HEADER Field for this archiver.
Constructor Summary
ZipArchive()
This Archive should be instantiated in the Archive-Interface.
Method Summary
protected voiddoSave(FileOutputStream output)
protected voiddoUnpack(File unpackDir)
StringgetDefaultFileExtension()
byte[]getHeader()
StringgetName()

Field Detail

ARCHIVER_NAME

private static final String ARCHIVER_NAME
ARCHIVER_NAME Field for this archiver.

BUFFER

private static final int BUFFER

DEFAULT_FILE_EXTENSION

private static String DEFAULT_FILE_EXTENSION
DEFAULT_FILE_EXTENSION Field for this archiver.

HEADER

private static final byte[] HEADER
HEADER Field for this archiver.

Constructor Detail

ZipArchive

public ZipArchive()
This Archive should be instantiated in the Archive-Interface.

Method Detail

doSave

protected void doSave(FileOutputStream output)

doUnpack

protected void doUnpack(File unpackDir)

getDefaultFileExtension

public String getDefaultFileExtension()

getHeader

public byte[] getHeader()

getName

public String getName()