Class DownloadTask

java.lang.Object
javax.swing.SwingWorker<Void,Void>
org.loboevolution.download.DownloadTask
All Implemented Interfaces:
Runnable, Future<Void>, RunnableFuture<Void>

public class DownloadTask extends SwingWorker<Void,Void>
Execute file download in a background thread and update the progress.
  • Constructor Details

    • DownloadTask

      public DownloadTask(DownloadWindow action, File destinationFile)

      Constructor for DownloadTask.

      Parameters:
      action - a DownloadWindow object.
      destinationFile - a File object.
  • Method Details