public class CliDownloader extends Downloader
_fileNodes, _targetDir, _totalBytes, _workerMap
Constructor and Description |
---|
CliDownloader(java.util.List<FileNode> fileNodes,
long totalBytes,
java.io.File targetDir) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancels all workers if one reports an error
|
void |
download()
Performs the downloading of the required files (each on a separate thread)
|
void |
setProgressPanel(CliProgressPanel panel) |
doInBackground, getErrors, hasErrors, pause, propertyChange
public CliDownloader(java.util.List<FileNode> fileNodes, long totalBytes, java.io.File targetDir)
public void setProgressPanel(CliProgressPanel panel)
public void download()
public boolean cancel()
cancel
in class Downloader
Copyright © 2004-2014 The YAWL Foundation.