org.apache.geronimo.farm.deployment
Class ZipDirectoryPackager

java.lang.Object
  extended by org.apache.geronimo.farm.deployment.ZipDirectoryPackager
All Implemented Interfaces:
DirectoryPackager

public class ZipDirectoryPackager
extends Object
implements DirectoryPackager


Constructor Summary
ZipDirectoryPackager()
           
 
Method Summary
 File pack(File configurationDir)
           
 File unpack(File packedConfigurationDir)
           
 void unpack(File targetDir, File packedConfigurationDir)
           
protected  void zip(ZipOutputStream zos, File configurationDir, File nestedFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipDirectoryPackager

public ZipDirectoryPackager()
Method Detail

pack

public File pack(File configurationDir)
          throws IOException
Specified by:
pack in interface DirectoryPackager
Throws:
IOException

unpack

public File unpack(File packedConfigurationDir)
            throws IOException
Specified by:
unpack in interface DirectoryPackager
Throws:
IOException

unpack

public void unpack(File targetDir,
                   File packedConfigurationDir)
            throws IOException
Specified by:
unpack in interface DirectoryPackager
Throws:
IOException

zip

protected void zip(ZipOutputStream zos,
                   File configurationDir,
                   File nestedFile)
            throws IOException
Throws:
IOException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.