public class ClasspathUrlStreamHandler extends URLStreamHandler
URLStreamHandler that handles resources on the classpath.| Constructor and Description |
|---|
ClasspathUrlStreamHandler(ClassLoader... classLoaders)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected URLConnection |
openConnection(URL url) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic ClasspathUrlStreamHandler(ClassLoader... classLoaders)
classLoaders - The classloaders to find resources from.protected URLConnection openConnection(URL url) throws IOException
openConnection in class URLStreamHandlerIOExceptionCopyright © 2015 agilecoders.de. All Rights Reserved.