org.archive.wayback.util
Class FileDownloader
java.lang.Object
org.archive.wayback.util.FileDownloader
public class FileDownloader
- extends Object
- Version:
- $Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDownloader
public FileDownloader()
getLastDigest
public String getLastDigest()
- Returns:
- Returns the lastDigest.
setDigest
public void setDigest(boolean digest)
- Parameters:
digest - The digest to set.
download
public void download(URL url,
File target)
throws IOException,
NoSuchAlgorithmException
- Parameters:
url - URL to downloadtarget - local File where uncompressed content of URL is stored
- Throws:
IOException
NoSuchAlgorithmException
downloadGZ
public void downloadGZ(URL url,
File target)
throws IOException,
NoSuchAlgorithmException
- Parameters:
url - URL to downloadtarget - local File where uncompressed content of URL is stored
- Throws:
IOException
NoSuchAlgorithmException
Copyright © 2005-2011 Internet Archive. All Rights Reserved.