org.apache.maven.shared.downloader
Class DefaultDownloader
java.lang.Object
org.apache.maven.shared.downloader.DefaultDownloader
- All Implemented Interfaces:
- Downloader
public class DefaultDownloader
- extends java.lang.Object
- implements Downloader
- Author:
- Jason van Zyl
Fields inherited from interface org.apache.maven.shared.downloader.Downloader |
ROLE |
Method Summary |
java.io.File |
download(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
java.util.List remoteRepositories)
|
java.io.File |
download(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.io.File localRepository,
java.lang.String[] remoteRepositories)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDownloader
public DefaultDownloader()
download
public java.io.File download(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.io.File localRepository,
java.lang.String[] remoteRepositories)
throws DownloadException,
DownloadNotFoundException
- Specified by:
download
in interface Downloader
- Throws:
DownloadException
DownloadNotFoundException
download
public java.io.File download(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
java.util.List remoteRepositories)
throws DownloadException,
DownloadNotFoundException
- Specified by:
download
in interface Downloader
- Throws:
DownloadException
DownloadNotFoundException
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.