org.jext.misc
Class DownloaderThread

java.lang.Object
  extended byorg.jext.misc.SwingWorker
      extended byorg.jext.misc.CopyThread
          extended byorg.jext.misc.DownloaderThread

public class DownloaderThread
extends CopyThread


Field Summary
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
           
 
Fields inherited from class org.jext.misc.CopyThread
in, out
 
Fields inherited from class org.jext.misc.SwingWorker
notifier
 
Constructor Summary
DownloaderThread(java.net.URL source, HandlingRunnable notify, java.lang.String outPath)
           
 
Method Summary
 java.lang.Object work()
          Compute the value to be returned by the get method.
 
Methods inherited from class org.jext.misc.SwingWorker
finished, get, getException, getValue, interrupt, run, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected java.net.URL source

outPath

protected java.lang.String outPath

tempPath

protected java.lang.String tempPath

outFile

protected java.io.File outFile

tempFile

protected java.io.File tempFile
Constructor Detail

DownloaderThread

public DownloaderThread(java.net.URL source,
                        HandlingRunnable notify,
                        java.lang.String outPath)
Method Detail

work

public java.lang.Object work()
                      throws java.io.IOException
Description copied from class: SwingWorker
Compute the value to be returned by the get method.

Overrides:
work in class CopyThread
Throws:
java.io.IOException


Copyright © 2002 Romain Guy.