org.apache.xbean.classloader
public class JarFileUrlConnection extends java.net.JarURLConnection
Modifier and Type | Field and Description |
---|---|
static java.net.URL |
DUMMY_JAR_URL |
Constructor and Description |
---|
JarFileUrlConnection(java.net.URL url,
java.util.jar.JarFile jarFile,
java.util.jar.JarEntry jarEntry) |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
java.util.jar.Attributes |
getAttributes() |
java.security.cert.Certificate[] |
getCertificates() |
int |
getContentLength() |
java.lang.String |
getEntryName() |
java.io.InputStream |
getInputStream() |
java.util.jar.JarEntry |
getJarEntry() |
java.util.jar.JarFile |
getJarFile() |
java.net.URL |
getJarFileURL() |
long |
getLastModified() |
java.util.jar.Attributes |
getMainAttributes() |
java.util.jar.Manifest |
getManifest() |
java.security.Permission |
getPermission() |
java.net.URL |
getURL() |
java.lang.String |
toString() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches
public static final java.net.URL DUMMY_JAR_URL
public JarFileUrlConnection(java.net.URL url, java.util.jar.JarFile jarFile, java.util.jar.JarEntry jarEntry) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.util.jar.JarFile getJarFile() throws java.io.IOException
getJarFile
in class java.net.JarURLConnection
java.io.IOException
public void connect()
connect
in class java.net.URLConnection
public java.net.URL getJarFileURL()
getJarFileURL
in class java.net.JarURLConnection
public java.lang.String getEntryName()
getEntryName
in class java.net.JarURLConnection
public java.util.jar.Manifest getManifest() throws java.io.IOException
getManifest
in class java.net.JarURLConnection
java.io.IOException
public java.util.jar.JarEntry getJarEntry()
getJarEntry
in class java.net.JarURLConnection
public java.util.jar.Attributes getAttributes() throws java.io.IOException
getAttributes
in class java.net.JarURLConnection
java.io.IOException
public java.util.jar.Attributes getMainAttributes() throws java.io.IOException
getMainAttributes
in class java.net.JarURLConnection
java.io.IOException
public java.security.cert.Certificate[] getCertificates() throws java.io.IOException
getCertificates
in class java.net.JarURLConnection
java.io.IOException
public java.net.URL getURL()
getURL
in class java.net.URLConnection
public int getContentLength()
getContentLength
in class java.net.URLConnection
public long getLastModified()
getLastModified
in class java.net.URLConnection
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.URLConnection
java.io.IOException
public java.security.Permission getPermission() throws java.io.IOException
getPermission
in class java.net.URLConnection
java.io.IOException
public java.lang.String toString()
toString
in class java.net.URLConnection
Copyright © 2005-2014. All Rights Reserved.