public class JarFileUrlStreamHandler extends java.net.URLStreamHandler
Constructor and Description |
---|
JarFileUrlStreamHandler(java.util.jar.JarFile jarFile,
java.util.jar.JarEntry jarEntry) |
Modifier and Type | Method and Description |
---|---|
static java.net.URL |
createUrl(java.util.jar.JarFile jarFile,
java.util.jar.JarEntry jarEntry) |
static java.net.URL |
createUrl(java.util.jar.JarFile jarFile,
java.util.jar.JarEntry jarEntry,
java.net.URL codeSource) |
java.net.URLConnection |
openConnection(java.net.URL url) |
void |
setExpectedUrl(java.net.URL expectedUrl) |
public JarFileUrlStreamHandler(java.util.jar.JarFile jarFile, java.util.jar.JarEntry jarEntry)
public static java.net.URL createUrl(java.util.jar.JarFile jarFile, java.util.jar.JarEntry jarEntry) throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.net.URL createUrl(java.util.jar.JarFile jarFile, java.util.jar.JarEntry jarEntry, java.net.URL codeSource) throws java.net.MalformedURLException
java.net.MalformedURLException
public void setExpectedUrl(java.net.URL expectedUrl)
public java.net.URLConnection openConnection(java.net.URL url) throws java.io.IOException
openConnection
in class java.net.URLStreamHandler
java.io.IOException
Copyright © 2005-2012. All Rights Reserved.