public class Downloader extends Object
Constructor and Description |
---|
Downloader() |
Modifier and Type | Method and Description |
---|---|
static String |
download(String remoteUrl,
File target,
boolean downloadAnyway)
Download a file from the web.
|
public static final String download(String remoteUrl, File target, boolean downloadAnyway) throws IOException
remoteUrl
- the URL to the filetarget
- the target to write todownloadAnyway
- download the file even if the HTTP status is not 200IOException
Copyright © 2017. All rights reserved.