ewe.io
Class CopyOver
java.lang.Object
ewe.sys.TaskObject
ewe.io.CopyOver
- All Implemented Interfaces:
- Runnable, Task
- public class CopyOver
- extends TaskObject
This class will copy multiple source files to multiple destination
files.
| Methods inherited from class ewe.sys.TaskObject |
checkAbortFail, checkFailure, doStart, doStop, exec, getHandle, nap, run, setNapTime, show, sleep, start, startTask, stopTask, waitOn, waitOnAny, waitOnSuccess, yield, yield |
displayTitle
public String displayTitle
sourceDirectory
public File sourceDirectory
destDirectory
public File destDirectory
sourceFiles
public String[] sourceFiles
shouldStop
public boolean shouldStop
doMove
public boolean doMove
yesToAll
public boolean yesToAll
noToAll
public boolean noToAll
alwaysContinue
public boolean alwaysContinue
alwaysStop
public boolean alwaysStop
makeCopies
public boolean makeCopies
dontCopySubdirectoryContents
public boolean dontCopySubdirectoryContents
doCopySubdirectoryContents
public boolean doCopySubdirectoryContents
parentFrame
public Frame parentFrame
IDALWAYS_YES
public static final int IDALWAYS_YES
- See Also:
- Constant Field Values
IDALWAYS_NO
public static final int IDALWAYS_NO
- See Also:
- Constant Field Values
IDALWAYS_CONTINUE
public static final int IDALWAYS_CONTINUE
- See Also:
- Constant Field Values
destFiles
protected String[] destFiles
CopyOver
public CopyOver()
yesNo
public static int yesNo(Frame parentFrame,
String theTitle,
String theMessage)
continueOp
public static int continueOp(Frame parentFrame,
String op,
String file)
getFileInfo
public static String getFileInfo(File f)
error
protected void error(String err)
getFiles
public static boolean getFiles(File f,
String name,
Vector addTo,
Handle handle)
doRun
public void doRun()
- Description copied from class:
TaskObject
- Override this method if you want to use an mThread to run your Task. Otherwise
if you are using timers or callbacks, override the doStart() method.
- Overrides:
doRun in class TaskObject
runWithProgressDisplay
public Handle runWithProgressDisplay()
execute
public boolean execute(Frame parent,
StringBuffer error)