Class LocalFileSaveTask

  • All Implemented Interfaces:
    java.lang.Runnable, ProgressObserver

    public class LocalFileSaveTask
    extends Task
    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
    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 Detail

      • LocalFileSaveTask

        public LocalFileSaveTask​(java.io.File file,
                                 java.lang.String body,
                                 java.lang.String charset)
    • Method Detail

      • _run

        public void _run()
        Description copied from class: Task
        This is the method you have to implement and that will be executed in the thread.
        Specified by:
        _run in class Task
        See Also:
        Task._run()