|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.util.Task
org.gjt.sp.jedit.io.CopyFileWorker
public class CopyFileWorker
This worker will copy a file. Be careful it override files if the target already exists
Constructor Summary | |
---|---|
CopyFileWorker(java.awt.Component comp,
java.lang.String source,
java.lang.String target)
|
Method Summary | |
---|---|
void |
_run()
This is the method you have to implement and that will be executed in the thread. |
java.lang.String |
toString()
|
Methods inherited from class org.gjt.sp.util.Task |
---|
cancel, getLabel, getMaximum, getState, getStatus, getValue, isCancellable, run, setCancellable, setLabel, setMaximum, setStatus, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CopyFileWorker(java.awt.Component comp, java.lang.String source, java.lang.String target)
comp
- the component that will be used as parent in case of errorsource
- the source VFStarget
- the target VFSMethod Detail |
---|
public void _run()
Task
_run
in class Task
public java.lang.String toString()
toString
in class Task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |