org.apache.geronimo.farm.deployment
Class ZipDirectoryPackager
java.lang.Object
org.apache.geronimo.farm.deployment.ZipDirectoryPackager
- All Implemented Interfaces:
- DirectoryPackager
public class ZipDirectoryPackager
- extends Object
- implements DirectoryPackager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipDirectoryPackager
public ZipDirectoryPackager()
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.