Class ExternalFilesDownloader
java.lang.Object
io.goobi.viewer.model.files.external.ExternalFilesDownloader
-
Constructor Summary
ConstructorsConstructorDescriptionExternalFilesDownloader(Path destinationdFolder, Consumer<Progress> progressMonitor) -
Method Summary
Modifier and TypeMethodDescriptiondownloadExternalFiles(URI downloadUri, String urlTemplate) downloadExternalFiles(URI uri, Map<String, String> httpHeader) downloadHttpResource(URI uri, Map<String, String> httpHeader) static booleanresourceExists(String url, String urlTemplate) static booleanresourceExists(URI uri, Map<String, String> httpHeader)
-
Constructor Details
-
ExternalFilesDownloader
-
-
Method Details
-
downloadExternalFiles
- Throws:
IOException
-
downloadExternalFiles
- Throws:
IOException
-
resourceExists
-
resourceExists
-
downloadHttpResource
- Throws:
IOException
-