public class DefaultDownloader extends java.lang.Object implements Downloader
| Constructor and Description |
|---|
DefaultDownloader() |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadUrlToFile(java.lang.String url,
java.io.File file)
Download the content at the URL given and save it locally.
|
public void downloadUrlToFile(java.lang.String url,
java.io.File file)
throws java.io.IOException
DownloaderdownloadUrlToFile in interface Downloaderurl - URL to requestfile - File where the content will be saved.java.io.IOExceptionCopyright © 2021. All rights reserved.