Package org.gjt.sp.jedit.io
Class LocalFileSaveTask
java.lang.Object
org.gjt.sp.util.Task
org.gjt.sp.jedit.io.LocalFileSaveTask
- All Implemented Interfaces:
Runnable
,ProgressObserver
The Task for asynchronous saving local file to disk ommiting VFS API stack.
Can be used to store backup files, settings, etc
- Since:
- jEdit 4.5pre TODO: Add setLabel() & ProgressObserver methods
- Author:
- Vadim Voituk
- Example:
- This class used for example by ftp.FtpVFS to perform local backups of remote files in background with no GUI freeze, ThreadUtilities.runInBackground( new LocalFileSaveTask(...) )
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
_run()
This is the method you have to implement and that will be executed in the thread.Methods inherited from class org.gjt.sp.util.Task
cancel, getLabel, getMaximum, getState, getStatus, getValue, isCancellable, run, setCancellable, setLabel, setMaximum, setStatus, setValue, toString