org.apache.commons.compress.archivers.zip
Class ZipArchive

java.lang.Object
  extended byorg.apache.commons.compress.PackableObject
      extended byorg.apache.commons.compress.AbstractArchive
          extended byorg.apache.commons.compress.archivers.zip.ZipArchive
All Implemented Interfaces:
org.apache.commons.compress.Archive

public class ZipArchive
extends org.apache.commons.compress.AbstractArchive

Archive-Implementation for Zip.


Field Summary
 
Fields inherited from class org.apache.commons.compress.PackableObject
CHOOSE_EXTENSION, CHOOSE_NAME
 
Constructor Summary
ZipArchive()
          This Archive should be instantiated in the Archive-Interface.
 
Method Summary
protected  void doSave(java.io.FileOutputStream output)
           
protected  void doUnpack(java.io.File unpackDir)
           
 java.lang.String getDefaultFileExtension()
           
 byte[] getHeader()
           
 java.lang.String getName()
           
 
Methods inherited from class org.apache.commons.compress.AbstractArchive
add, add, close, getArchive, getEntryIterator, newInstance, save, save, setArchive, unpack
 
Methods inherited from class org.apache.commons.compress.PackableObject
identifyByHeader, isPackableWith
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipArchive

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

Method Detail

doUnpack

protected void doUnpack(java.io.File unpackDir)
                 throws org.apache.commons.compress.UnpackException
Throws:
org.apache.commons.compress.UnpackException

doSave

protected void doSave(java.io.FileOutputStream output)
               throws org.apache.commons.compress.ArchiveException
Throws:
org.apache.commons.compress.ArchiveException

getName

public java.lang.String getName()

getDefaultFileExtension

public java.lang.String getDefaultFileExtension()

getHeader

public byte[] getHeader()


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.