public interface DownloadService extends SciJavaService
| Modifier and Type | Method and Description |
|---|---|
Download |
download(Location source,
Location destination)
Downloads data from the given source, storing it into the given
destination.
|
Download |
download(Location source,
Location destination,
LocationCache cache)
Downloads data from the given source, storing it into the given
destination.
|
initialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposeDownload download(Location source, Location destination)
source - The location of the needed data.destination - The location where the needed data should be stored.Download download(Location source, Location destination, LocationCache cache)
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.Copyright © 2015–2022 SciJava. All rights reserved.