org.apache.maven.shared.downloader
Class DefaultDownloader

java.lang.Object
  extended by org.apache.maven.shared.downloader.DefaultDownloader
All Implemented Interfaces:
Downloader

public class DefaultDownloader
extends Object
implements Downloader

Author:
Jason van Zyl

Field Summary
 
Fields inherited from interface org.apache.maven.shared.downloader.Downloader
ROLE
 
Constructor Summary
DefaultDownloader()
           
 
Method Summary
 File download(String groupId, String artifactId, String version, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List remoteRepositories)
           
 File download(String groupId, String artifactId, String version, File localRepository, String[] remoteRepositories)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDownloader

public DefaultDownloader()
Method Detail

download

public File download(String groupId,
                     String artifactId,
                     String version,
                     File localRepository,
                     String[] remoteRepositories)
              throws DownloadException,
                     DownloadNotFoundException
Specified by:
download in interface Downloader
Throws:
DownloadException
DownloadNotFoundException

download

public File download(String groupId,
                     String artifactId,
                     String version,
                     org.apache.maven.artifact.repository.ArtifactRepository localRepository,
                     List remoteRepositories)
              throws DownloadException,
                     DownloadNotFoundException
Specified by:
download in interface Downloader
Throws:
DownloadException
DownloadNotFoundException


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.