public class Handler extends URLStreamHandler
URLStreamHandler
for jar:
protocol URL
s.Constructor and Description |
---|
Handler()
Construct.
|
Modifier and Type | Method and Description |
---|---|
static Handler |
getInstance()
Retrieve the singleton instance.
|
URLConnection |
openConnection(URL url) |
void |
parseURL(URL url,
String spec,
int start,
int limit) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, sameFile, setURL, setURL, toExternalForm
public static Handler getInstance()
public URLConnection openConnection(URL url) throws IOException
openConnection
in class URLStreamHandler
IOException
URLStreamHandler
public void parseURL(URL url, String spec, int start, int limit)
parseURL
in class URLStreamHandler
URLStreamHandler