public class URLStreamHandlerFactory
extends java.lang.Object
implements java.net.URLStreamHandlerFactory
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
Constructor and Description |
---|
URLStreamHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol) |
static void |
install() |
static java.net.URL |
makeURL(java.lang.String urlString) |
static java.net.URL |
makeURL(java.net.URL parent,
java.lang.String urlString) |
static void |
register(java.lang.String protocol,
java.net.URLStreamHandler sh) |
public static void install()
public static void register(java.lang.String protocol, java.net.URLStreamHandler sh)
public static java.net.URL makeURL(java.lang.String urlString) throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.net.URL makeURL(java.net.URL parent, java.lang.String urlString) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
createURLStreamHandler
in interface java.net.URLStreamHandlerFactory