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