public abstract class Download extends Object
Constructor and Description |
---|
Download() |
Modifier and Type | Method and Description |
---|---|
static void |
getFile(URL url,
File saveFile,
boolean verbose)
Save the file found at the URL to the specified directory.
If saveFile exists and is a file, it is overwritten. |
static void |
getFile(URL url,
File saveFile,
boolean backUpExisting,
boolean verbose)
Save the file found at the URL to the specified directory.
|
public static void getFile(URL url, 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(URL url, 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.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.