[ 
https://issues.apache.org/jira/browse/IVY-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gintas Grigelionis updated IVY-1011:
------------------------------------
    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
{code}
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);
}
{code}

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

[1] http://www.sun.com/download/sdm/download.xml

  was:
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 Suns Downloadmanager [1] for doing the job
- ??Downloader : other (free available Java based) download manager

[1] http://www.sun.com/download/sdm/download.xml



> Enhance download options
> ------------------------
>
>                 Key: IVY-1011
>                 URL: https://issues.apache.org/jira/browse/IVY-1011
>             Project: Ivy
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jan Matèrne
>            Priority: Minor
>
> 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
> {code}
> 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);
> }
> {code}
> 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
> [1] http://www.sun.com/download/sdm/download.xml



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to