org.jext.misc
Class CopyThread

java.lang.Object
  extended byorg.jext.misc.SwingWorker
      extended byorg.jext.misc.CopyThread
Direct Known Subclasses:
DownloaderThread

public class CopyThread
extends SwingWorker


Field Summary
protected  java.io.InputStream in
           
protected  java.io.OutputStream out
           
 
Fields inherited from class org.jext.misc.SwingWorker
notifier
 
Constructor Summary
protected CopyThread(HandlingRunnable notifier)
          If you call this, you must set the in and out stream by yourself.
  CopyThread(java.io.InputStream in, java.io.OutputStream out, HandlingRunnable notifier)
           
 
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

in

protected java.io.InputStream in

out

protected java.io.OutputStream out
Constructor Detail

CopyThread

protected CopyThread(HandlingRunnable notifier)
If you call this, you must set the in and out stream by yourself.


CopyThread

public CopyThread(java.io.InputStream in,
                  java.io.OutputStream out,
                  HandlingRunnable notifier)
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.

Specified by:
work in class SwingWorker
Throws:
java.io.IOException


Copyright © 2002 Romain Guy.