us.zuercher.gpx2map.source
Interface Downloader
- All Known Implementing Classes:
- JavaDownloader
public interface Downloader
Downloader is an interface describing a mechanism for downloading arbitrary
files from a URL. The files are nominally images, but this interface does
not require them to be.
- Author:
- Stephan Zuercher
Method Summary |
void |
download(URL url,
File target)
Download the contents of the given URL, nominally an image file, to the
given file. |
download
void download(URL url,
File target)
throws IOException
- Download the contents of the given URL, nominally an image file, to the
given file.
- Parameters:
url
- image to downloadtarget
- location to save image
- Throws:
IOException
- if the URL cannot be downloaded for any reason