org.apache.geronimo.kernel.classloader
Class JarFileUrlStreamHandler
java.lang.Object
java.net.URLStreamHandler
org.apache.geronimo.kernel.classloader.JarFileUrlStreamHandler
public class JarFileUrlStreamHandler
- extends URLStreamHandler
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 |
JarFileUrlStreamHandler
public JarFileUrlStreamHandler(JarFile jarFile,
JarEntry jarEntry)
createUrl
public static URL createUrl(JarFile jarFile,
JarEntry jarEntry)
throws MalformedURLException
- Throws:
MalformedURLException
createUrl
public static URL createUrl(JarFile jarFile,
JarEntry jarEntry,
URL codeSource)
throws MalformedURLException
- Throws:
MalformedURLException
setExpectedUrl
public void setExpectedUrl(URL expectedUrl)
openConnection
public URLConnection openConnection(URL url)
throws IOException
- Specified by:
openConnection
in class URLStreamHandler
- Throws:
IOException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.