public class UrlUtils
extends java.lang.Object
Constructor and Description |
---|
UrlUtils() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
decodeUrlAsFile(java.net.URL url) |
static java.net.URL |
decodeUrlQuietly(java.net.URL url) |
static boolean |
isLocalFile(java.net.URL url) |
static java.net.URL |
normalizeUrl(java.net.URL url) |
static java.net.URL |
normalizeUrl(java.net.URL url,
boolean encodeFileUrls) |
static java.net.URL |
normalizeUrlAndStripParams(java.net.URL url) |
static java.net.URL |
normalizeUrlAndStripParams(java.net.URL url,
boolean encodeFileUrls) |
static java.net.URL |
normalizeUrlQuietly(java.net.URL url) |
static java.net.URL |
normalizeUrlQuietly(java.net.URL url,
boolean encodeFileUrls) |
public static java.net.URL normalizeUrlAndStripParams(java.net.URL url, boolean encodeFileUrls)
public static java.net.URL normalizeUrlAndStripParams(java.net.URL url)
public static boolean isLocalFile(java.net.URL url)
public static java.net.URL decodeUrlQuietly(java.net.URL url)
public static java.net.URL normalizeUrl(java.net.URL url, boolean encodeFileUrls) throws java.net.MalformedURLException, java.io.UnsupportedEncodingException, java.net.URISyntaxException
java.net.MalformedURLException
java.io.UnsupportedEncodingException
java.net.URISyntaxException
public static java.net.URL normalizeUrl(java.net.URL url) throws java.net.MalformedURLException, java.io.UnsupportedEncodingException, java.net.URISyntaxException
java.net.MalformedURLException
java.io.UnsupportedEncodingException
java.net.URISyntaxException
public static java.net.URL normalizeUrlQuietly(java.net.URL url, boolean encodeFileUrls)
public static java.net.URL normalizeUrlQuietly(java.net.URL url)
public static java.io.File decodeUrlAsFile(java.net.URL url)