org.jibx.util
Class ClasspathUrlExtender.ClasspathHandler
java.lang.Object
java.net.URLStreamHandler
org.jibx.util.ClasspathUrlExtender.ClasspathHandler
- Enclosing class:
- ClasspathUrlExtender
public static class ClasspathUrlExtender.ClasspathHandler
- extends URLStreamHandler
Handler for opening a connection to a resource from the classpath.
| Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathUrlExtender.ClasspathHandler
public ClasspathUrlExtender.ClasspathHandler(ClassLoader loader)
- Constructor.
- Parameters:
loader - classloader used to find resources
openConnection
protected URLConnection openConnection(URL url)
throws IOException
- Specified by:
openConnection in class URLStreamHandler
- Throws:
IOException
Copyright © 2005-2011 jibx.org. All Rights Reserved.