public class Handler extends URLStreamHandler
URLStreamHandler that handles resources on the classpath. Taken
from
https://stackoverflow.com/questions/861500/url-to-load-resources-from-the-classpath-in-java| Constructor and Description |
|---|
Handler() |
Handler(ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected URLConnection |
openConnection(URL u) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic Handler()
public Handler(ClassLoader classLoader)
protected URLConnection openConnection(URL u) throws IOException
openConnection in class URLStreamHandlerIOExceptionCopyright © 2018 JULIE Lab, Germany. All rights reserved.