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 memjar support.
| Constructor and Description |
|---|
Handler()
Construct a new
Handler. |
Handler(MemoryJarFile jarFile)
Creates a handler that uses the specified Jar file.
|
| Modifier and Type | Method and Description |
|---|---|
protected URLConnection |
openConnection(URL url)
Open an
MemoryJarURLConnection to the specified URL. |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic Handler()
Handler.public Handler(MemoryJarFile jarFile)
protected URLConnection openConnection(URL url) throws IOException
MemoryJarURLConnection to the specified URL.openConnection in class URLStreamHandlerurl - The URL to which to connect.IOExceptionPhantom® and NetPhantom® are registered trademarks of Nexum International SARL.
© Copyright Nexum International SARL, 2019. All rights reserved.