public abstract class Download
extends java.lang.Object
| Constructor and Description |
|---|
Download() |
| Modifier and Type | Method and Description |
|---|---|
static void |
getFile(java.net.URL url,
java.io.File saveFile,
boolean verbose)
Save the file found at the URL to the specified directory.
|
static void |
getFile(java.net.URL url,
java.io.File saveFile,
boolean backUpExisting,
boolean verbose)
Save the file found at the URL to the specified directory.
|
public static void getFile(java.net.URL url,
java.io.File saveFile,
boolean verbose)
url - the file to downloadsaveFile - the directory or file to which the downloaded
file is writtenverbose - true if a running commentary of the
download's progress is desired.public static void getFile(java.net.URL url,
java.io.File saveFile,
boolean backUpExisting,
boolean verbose)
url - the file to downloadsaveFile - the directory or file to which the downloaded
file is writtenbackUpExisting - true if any existing saveFile
should be backed upverbose - true if a running commentary of the
download's progress is desired.