public class CopyThread extends SwingWorker
Modifier and Type | Field and Description |
---|---|
protected java.io.InputStream |
in |
protected java.io.OutputStream |
out |
notifier
Modifier | Constructor and Description |
---|---|
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) |
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 CopyThread(HandlingRunnable notifier)
in
and out
stream by yourself.public CopyThread(java.io.InputStream in, java.io.OutputStream out, HandlingRunnable notifier)
public java.lang.Object work() throws java.io.IOException
SwingWorker
get
method.work
in class SwingWorker
java.io.IOException
Copyright ? 2002 Romain Guy.