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