org.apache.ivy.plugins.repository

Interface ResourceDownloader

public interface ResourceDownloader

A ResourceDownloader is able to download a Resource to a File.

Depending on the implementation, the downloader may also choose to download checksums automatically and check the consistency of the downloaded resource.

The implementation is also responsible for using a .part file during download, to ensure the destination file will exist only if the download is completed successfully.

Method Summary
voiddownload(Artifact artifact, Resource resource, File dest)

Method Detail

download

public void download(Artifact artifact, Resource resource, File dest)