public class DownloaderThread extends CopyThread
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
outFile |
protected java.lang.String |
outPath |
protected java.net.URL |
source |
protected java.io.File |
tempFile |
protected java.lang.String |
tempPath |
in, outnotifier| Constructor and Description |
|---|
DownloaderThread(java.net.URL source,
HandlingRunnable notify,
java.lang.String outPath) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
work()
Compute the value to be returned by the
get method. |
finished, get, getException, getValue, interrupt, run, startprotected java.net.URL source
protected java.lang.String outPath
protected java.lang.String tempPath
protected java.io.File outFile
protected java.io.File tempFile
public DownloaderThread(java.net.URL source,
HandlingRunnable notify,
java.lang.String outPath)
public java.lang.Object work()
throws java.io.IOException
SwingWorkerget method.work in class CopyThreadjava.io.IOExceptionCopyright ? 2002 Romain Guy.