Class Task

java.lang.Object
org.luwrain.io.download.Task
All Implemented Interfaces:
Runnable

public final class Task extends Object implements Runnable
  • Field Details

    • callback

      public final Task.Callback callback
    • srcUrl

      public final URL srcUrl
    • destFile

      public File destFile
  • Constructor Details

  • Method Details

    • startSync

      public void startSync()
    • startAsync

      public void startAsync()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • stop

      public void stop()