Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Enhance the downloading of artefacts.
- parallel downloads
- resuming a download
- partial downloads
- using a downloadmanager (for getting the first three topics)
(Without knowing the internals) I think of something like
public interface Downloader { /** * @param source From where to download * @param target where to store the artefact * @param progressReporter something that reports the progress (the [.......]ok at the moment) */ download(URI source, File target, ?? progressReporter); }
Implementations:
- SerialDownloader : the existing downloader
- ParallelDownloader : starts multiple downloads in parallel
- SunDownloader : uses Sun Downloadmanager [1] for doing the job
- ??Downloader : other (free available Java based) download manager