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, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCachespublic JarFileUrlConnection(java.net.URL url,
java.util.jar.JarFile jarFile,
java.util.jar.JarEntry jarEntry)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic java.util.jar.JarFile getJarFile()
throws java.io.IOException
getJarFile in class java.net.JarURLConnectionjava.io.IOExceptionpublic void connect()
connect in class java.net.URLConnectionpublic java.net.URL getJarFileURL()
getJarFileURL in class java.net.JarURLConnectionpublic java.lang.String getEntryName()
getEntryName in class java.net.JarURLConnectionpublic java.util.jar.Manifest getManifest()
throws java.io.IOException
getManifest in class java.net.JarURLConnectionjava.io.IOExceptionpublic java.util.jar.JarEntry getJarEntry()
getJarEntry in class java.net.JarURLConnectionpublic java.util.jar.Attributes getAttributes()
throws java.io.IOException
getAttributes in class java.net.JarURLConnectionjava.io.IOExceptionpublic java.util.jar.Attributes getMainAttributes()
throws java.io.IOException
getMainAttributes in class java.net.JarURLConnectionjava.io.IOExceptionpublic java.security.cert.Certificate[] getCertificates()
throws java.io.IOException
getCertificates in class java.net.JarURLConnectionjava.io.IOExceptionpublic java.net.URL getURL()
getURL in class java.net.URLConnectionpublic int getContentLength()
getContentLength in class java.net.URLConnectionpublic long getLastModified()
getLastModified in class java.net.URLConnectionpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOExceptionpublic java.security.Permission getPermission()
throws java.io.IOException
getPermission in class java.net.URLConnectionjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.net.URLConnectionCopyright © 2004-2021 The Apache Software Foundation. All Rights Reserved.