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, out
notifier
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, start
protected 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
SwingWorker
get
method.work
in class CopyThread
java.io.IOException
Copyright ? 2002 Romain Guy.