com.lightdev.app.trec.server
Class Packer
java.lang.Object
com.lightdev.app.trec.server.Packer
public class Packer
- extends Object
A Packer class can be used to create compressed ZIP archives from a given file structure
- Version:
- 2, 10.01.2006
- Author:
- Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, published under the terms and conditions of the BSD License,
for details see file license.txt in the distribution package of this software
|
Constructor Summary |
Packer()
create a new instance of a Packer object |
|
Method Summary |
void |
packFiles(String srcDir,
String destFileName)
create a compressed ZIP archive froma given file structure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Packer
public Packer()
- create a new instance of a Packer object
packFiles
public void packFiles(String srcDir,
String destFileName)
throws IOException
- create a compressed ZIP archive froma given file structure
- Parameters:
srcDir - source directory to create a ZIP archive ofdestFileName - name the destination ZIP file
- Throws:
IOException