public class DownloadCache extends Object
| Constructor and Description |
|---|
DownloadCache(File cacheDirectory) |
public DownloadCache(File cacheDirectory)
public File getArtifact(String url, String md5, String sha1) throws Exception
url - URL of the filemd5 - MD5 signature to verify file. Can be null => No checksha1 - Sha1 signature to verify file. Can be null => No checkExceptionCopyright © 2009-2014 Open-Source. All Rights Reserved.