public class FileLocator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
useCache |
| Constructor and Description |
|---|
FileLocator() |
| Modifier and Type | Method and Description |
|---|---|
static java.io.File |
getFile(java.lang.String path)
Either download, or get a File object corresponding to the given URL /
file name.
|
static boolean |
isHTTPURL(java.lang.String string) |
public static java.io.File getFile(java.lang.String path)
throws java.io.IOException
path - java.io.IOExceptionpublic static boolean isHTTPURL(java.lang.String string)
Copyright © 2012-2021. All Rights Reserved.