Class ExternalFilesDownloader

java.lang.Object
io.goobi.viewer.model.files.external.ExternalFilesDownloader

public class ExternalFilesDownloader extends Object
  • Constructor Details

    • ExternalFilesDownloader

      public ExternalFilesDownloader(Path destinationdFolder, Consumer<Progress> progressMonitor)
  • Method Details

    • downloadExternalFiles

      public Path downloadExternalFiles(URI downloadUri) throws IOException
      Throws:
      IOException
    • resourceExists

      public static boolean resourceExists(String url)
    • resourceExists

      public static boolean resourceExists(URI uri)
    • downloadHttpResource

      public Path downloadHttpResource(URI uri) throws IOException
      Throws:
      IOException