public class URLUtils
extends java.lang.Object
Constructor and Description |
---|
URLUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isDynamic(java.io.File file) |
static boolean |
isDynamic(java.net.URI uri) |
static boolean |
isDynamic(java.net.URL url) |
static boolean |
isFileURL(java.net.URL url) |
static void |
main(java.lang.String[] args) |
static java.io.InputStream |
openStream(java.net.URL url) |
static java.io.File |
toFile(java.net.URL url) |
static java.lang.String |
toPath(java.net.URL url) |
static java.net.URL |
toURL(java.io.File f) |
public static java.io.InputStream openStream(java.net.URL url)
public static java.lang.String toPath(java.net.URL url)
public static java.io.File toFile(java.net.URL url)
public static boolean isDynamic(java.net.URL url)
public static boolean isDynamic(java.io.File file)
public static boolean isDynamic(java.net.URI uri)
public static java.net.URL toURL(java.io.File f)
public static boolean isFileURL(java.net.URL url)
public static void main(java.lang.String[] args) throws java.net.MalformedURLException
java.net.MalformedURLException