Class DownloadCache
java.lang.Object
com.googlecode.download.maven.plugin.internal.cache.DownloadCache
A class representing a download cache
- Author:
- Mickael Istria (Red Hat Inc)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DownloadCache
-
-
Method Details
-
getArtifact
Get a File in the download cache. If no cache for this URL, or if expected checksums don't match cached ones, returns null. available in cache,- Parameters:
uri- URL of the filechecksums- Supplied checksums.- Returns:
- A File when cache is found, null if no available cache
-
install
- Throws:
Exception
-