public abstract class DownloadTools
extends java.lang.Object
| Constructor and Description |
|---|
DownloadTools() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
downloadUriToFile(java.net.URI uri,
java.io.File file)
Download a file from the network via HTTP.
|
static boolean |
isDownloadableFiletype(java.lang.String filename) |
public static boolean downloadUriToFile(java.net.URI uri,
java.io.File file)
url - The resource to download.file - The directory or file to save to.true if successful, false otherwise.public static boolean isDownloadableFiletype(java.lang.String filename)