public class Collector
extends java.lang.Object
implements java.lang.Runnable
Collectables and collecting
them in a separate Thread with a nice GUI.| Constructor and Description |
|---|
Collector(@NotNull net.sf.japi.swing.misc.Progress progress,
@NotNull AbstractResources<?,?,?> resources,
@NotNull java.io.File collectedDirectory)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
start()
Starts collecting.
|
void |
waitUntilFinished()
Waits until collection has finished.
|
public Collector(@NotNull
@NotNull net.sf.japi.swing.misc.Progress progress,
@NotNull
@NotNull AbstractResources<?,?,?> resources,
@NotNull
@NotNull java.io.File collectedDirectory)
progress - the progress to useresources - the resources to collectcollectedDirectory - the destination directory to write files topublic void start()
public void waitUntilFinished()
throws java.lang.InterruptedException
java.lang.InterruptedException - if waiting was interruptedpublic void run()
run in interface java.lang.Runnable