Class GFileSystemExtractAllTask

  • All Implemented Interfaces:
    MonitoredRunnable

    public class GFileSystemExtractAllTask
    extends Task
    Task that recursively extracts all files from a GFileSystem directory and writes them to a local filesystem.
    • Constructor Detail

      • GFileSystemExtractAllTask

        public GFileSystemExtractAllTask​(FSRL srcFSRL,
                                         java.io.File outputDirectory,
                                         java.awt.Component parentComponent)
    • Method Detail

      • run

        public void run​(TaskMonitor monitor)
        Description copied from class: Task
        This is the method that will be called to do the work

        Note: The run(TaskMonitor) method should not make any calls directly on Swing components, as these calls are not thread safe. Place Swing calls in a Runnable, then call SystemUtilities.runSwingLater(Runnable) or SystemUtilities.runSwingNow(Runnable)to schedule the Runnable inside of the AWT Event Thread.

        Specified by:
        run in class Task
        Parameters:
        monitor - The TaskMonitor that will monitor the executing Task