|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jomic.tools.AbstractTask
net.sf.jomic.comic.CreateZipArchiveTask
public class CreateZipArchiveTask
Task to create a ZIP archive.
| Constructor Summary | |
|---|---|
CreateZipArchiveTask(java.io.File newTargetZipFile,
java.io.File newSourceBaseDir,
java.lang.String[] newSourceFileNames)
Create a new task to create a ZIP archive. |
|
| Method Summary | |
|---|---|
void |
start()
Start the task, which will cause the progress to iterate from 0 to getMaximum. |
| Methods inherited from class net.sf.jomic.tools.AbstractTask |
|---|
addProgressChangeListener, getMaxProgress, getProgress, getProgressMessage, isInterrupted, removeProgressChangeListener, setMaxProgress, setProgress, setProgressMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateZipArchiveTask(java.io.File newTargetZipFile,
java.io.File newSourceBaseDir,
java.lang.String[] newSourceFileNames)
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| Method Detail |
|---|
public void start()
throws java.io.IOException
TaskgetMaximum.
start in interface Taskstart in class AbstractTaskjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||