public class ManualFileCopy extends java.lang.Object implements Abortable.Impl
| Modifier and Type | Field and Description |
|---|---|
private boolean |
abortRequested |
private java.lang.String |
inPath |
private java.lang.String |
outPath |
private Abortable |
parent |
| Constructor and Description |
|---|
ManualFileCopy(Abortable parent,
java.lang.String outPath,
java.lang.String inPath) |
| Modifier and Type | Method and Description |
|---|---|
static Abortable.ImplFactory |
factory(java.lang.String outPath,
java.lang.String inPath) |
void |
forceAbort()
shall not block and must be safe to call from another thread than run
|
void |
run()
can block; will be run in a separate thread
|
private volatile boolean abortRequested
private java.lang.String inPath
private java.lang.String outPath
private Abortable parent
public ManualFileCopy(Abortable parent, java.lang.String outPath, java.lang.String inPath)
public void forceAbort()
Abortable.ImplforceAbort in interface Abortable.Implpublic static Abortable.ImplFactory factory(java.lang.String outPath, java.lang.String inPath)
public void run()
Abortable.Implrun in interface java.lang.Runnablerun in interface Abortable.ImplCopyright 2004-2015 Wandora Team