public class Util extends Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static String |
downloadURL(URL url,
String localPath) |
static String |
getParentPath(String path) |
static boolean |
isImageFile(String fname) |
static String |
slashify(String path,
boolean isDirectory) |
public static String downloadURL(URL url, String localPath) throws IOException
IOException
public static boolean isImageFile(String fname)