public class URLUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ALLOW_UNTRUSTED_SSL |
static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
URLUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertClasspathURL(String surl)
Converts a classpath:/ style URL to a real file/jar URL like:
jar:file:/home/bemo/svnroot/eproperties/jars/testproperties.jar!/testjar.properties
Or:
file:/bla
|
static String |
debugURL(URL url) |
static URLConnection |
getConnection(URL url)
This method wraps the URL.openConnection method to selectively
disable https authentication on https URL connections.
|
static long |
lastMod(URL url) |
public static org.apache.commons.logging.Log log
public static boolean ALLOW_UNTRUSTED_SSL
public static final String convertClasspathURL(String surl)
public static long lastMod(URL url) throws IOException
IOExceptionpublic static URLConnection getConnection(URL url) throws IOException
IOExceptionCopyright © 2014. All rights reserved.