public class FileDownloader extends Object
Constructor and Description |
---|
FileDownloader() |
Modifier and Type | Method and Description |
---|---|
File |
download(URL url,
File file) |
void |
setBackoffTime(int backoffTime) |
void |
setDisplayInfo(int displayInfo) |
void |
setMaxAttempts(int maxAttempts) |
void |
setSleepTime(int sleepTime) |
public static final Logger LOG
public File download(URL url, File file) throws InterruptedException
InterruptedException
public void setSleepTime(int sleepTime)
public void setMaxAttempts(int maxAttempts)
public void setDisplayInfo(int displayInfo)
public void setBackoffTime(int backoffTime)
Copyright © 2014. All rights reserved.