Class DownloadWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, IDownload

public class DownloadWindow extends JFrame implements IDownload

DownloadWindow class.

See Also:
  • Field Details

    • destinationField

      protected final FormField destinationField
    • timeLeftField

      protected final FormField timeLeftField
    • saveButton

      protected final LoboButton saveButton
  • Constructor Details

    • DownloadWindow

      public DownloadWindow()

      Constructor for DownloadWindow.

    • DownloadWindow

      public DownloadWindow(URL url) throws IOException

      Constructor for DownloadWindow.

      Parameters:
      url - a URL object.
      Throws:
      IOException - if any.
  • Method Details

    • downloadFile

      public void downloadFile(URL url)

      downloadFile.

      Specified by:
      downloadFile in interface IDownload
      Parameters:
      url - a URL object.
    • downloadFile

      public void downloadFile(String url)

      downloadFile.

      Parameters:
      url - a String object.
    • downloadFile

      public void downloadFile(InputStream inputStream)

      downloadFile.

      Specified by:
      downloadFile in interface IDownload
      Parameters:
      inputStream - a InputStream object.