Interface DownloadService

    • Method Detail

      • download

        Download download​(Location source,
                          Location destination)
        Downloads data from the given source, storing it into the given destination.
        Parameters:
        source - The location of the needed data.
        destination - The location where the needed data should be stored.
      • download

        Download download​(Location source,
                          Location destination,
                          LocationCache cache)
        Downloads data from the given source, storing it into the given destination.
        Parameters:
        source - The location of the needed data.
        destination - The location where the needed data should be stored.
        cache - The cache from which already-downloaded data should be pulled preferentially, and to which newly-downloaded data should be stored for next time.