net.sf.jomic.comic
Class CreateZipArchiveTask
java.lang.Object
net.sf.jomic.tools.AbstractTask
net.sf.jomic.comic.CreateZipArchiveTask
- All Implemented Interfaces:
- Task
public class CreateZipArchiveTask
- extends AbstractTask
Task to create a ZIP archive.
- Author:
- Thomas Aglassinger
|
Method Summary |
void |
start()
Start the task, which will cause the progress to iterate from 0 to getMaximum. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateZipArchiveTask
public CreateZipArchiveTask(File newTargetZipFile,
File newSourceBaseDir,
String[] newSourceFileNames)
- Create a new task to create a ZIP archive.
- Parameters:
newTargetZipFile - the ZIP file to createnewSourceBaseDir - the base directory where the source files are locatednewSourceFileNames - the names of the files relative to newSourceBaseDir
that should be included in the archive
start
public void start()
throws IOException
- Description copied from interface:
Task
- Start the task, which will cause the progress to iterate from 0 to
getMaximum.
- Specified by:
start in interface Task- Specified by:
start in class AbstractTask
- Throws:
IOException