public class Handler extends URLStreamHandler
URLStreamHandler.
This class must be named Handler for the default system
handler search mechanism to function. Normally you will not use this class
directly; NpURLStreamHandlerFactory documents how to
globally install npjar support. However, you can employ NpJar
using just this class:
Handler npjar = new Handler(...); URL url = new URL (..., npjar);
| Constructor and Description |
|---|
Handler()
Construct a new
Handler. |
| Modifier and Type | Method and Description |
|---|---|
protected URLConnection |
openConnection(URL url)
Open an
NpJarURLConnection to the specified URL. |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormprotected URLConnection openConnection(URL url) throws IOException
NpJarURLConnection to the specified URL.openConnection in class URLStreamHandlerurl - The URL to which to connect.IOExceptionPhantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2013. All rights reserved.