Class DownloadHelper

    • Constructor Detail

      • DownloadHelper

        public DownloadHelper​(String title,
                              String text)
    • Method Detail

      • setParent

        public DownloadHelper setParent​(javafx.stage.Window parent)
      • setShowDialog

        public DownloadHelper setShowDialog​(boolean showDialog)
      • getParent

        public javafx.stage.Window getParent()
      • call

        public Integer call()
        Downloads the file from the url. and saves the result in target ! The foldername is the folder in which the target is stored!
        Specified by:
        call in interface Callable<Integer>
        Returns:
        int == 0 (Successful) int == -1 (Error) int == 1 (Aborted)