Interface DownloadService


public interface DownloadService
Service to download a set of files to local disk.
Since:
4.0.0
  • Method Details

    • newManifestBuilder

      DownloadService.Manifest.Builder newManifestBuilder()
      Get a new manifest builder.
      Returns:
      a new builder
    • download

      void download(DownloadService.Manifest downloadsManifest) throws DownloadException
      Download all files as per provided manifest. The destination directories present in the manifest are expected to exist. Existing files will not be overwritten.
      Parameters:
      downloadsManifest - a download manifest
      Throws:
      DownloadException - if at least one of the downloads fails