public class VirtualClassURLStreamHandler extends URLStreamHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
HANDLER_PROTOCOL
Script Handler protocol for classes compiled from source
|
| Constructor and Description |
|---|
VirtualClassURLStreamHandler(ScriptClassLoader cl)
Creates new instance of url stream handler with given classloader
|
| Modifier and Type | Method and Description |
|---|---|
protected URLConnection |
openConnection(URL u)
Opens new URL connection for URL
|
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic static final String HANDLER_PROTOCOL
public VirtualClassURLStreamHandler(ScriptClassLoader cl)
cl - ScriptClassLoaderImpl that was used to load compiled classprotected URLConnection openConnection(URL u) throws IOException
openConnection in class URLStreamHandleru - urlIOException - never thrownCopyright © 2014–2015. All rights reserved.