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, startprotected 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
SwingWorkerget method.work in class SwingWorkerjava.io.IOExceptionCopyright ? 2002 Romain Guy.