public class JarURLConnectionImpl
extends java.net.JarURLConnection
| Modifier and Type | Field and Description |
|---|---|
private FileContent |
content |
private java.lang.String |
entryName |
private JarFileObject |
file |
private static java.lang.String |
HACK_URL |
private java.net.URL |
parentURL |
| Constructor and Description |
|---|
JarURLConnectionImpl(JarFileObject file,
FileContent content) |
| 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() |
java.util.jar.Manifest |
getManifest() |
java.io.OutputStream |
getOutputStream() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringprivate static final java.lang.String HACK_URL
private final FileContent content
private final java.net.URL parentURL
private final JarFileObject file
private final java.lang.String entryName
public JarURLConnectionImpl(JarFileObject file, FileContent content) throws java.net.MalformedURLException, FileSystemException
java.net.MalformedURLExceptionFileSystemExceptionpublic java.net.URL getJarFileURL()
getJarFileURL in class java.net.JarURLConnectionpublic java.lang.String getEntryName()
getEntryName in class java.net.JarURLConnectionpublic java.util.jar.JarFile getJarFile()
throws java.io.IOException
getJarFile in class java.net.JarURLConnectionjava.io.IOExceptionpublic java.util.jar.Manifest getManifest()
throws java.io.IOException
getManifest in class java.net.JarURLConnectionjava.io.IOExceptionpublic java.util.jar.JarEntry getJarEntry()
throws java.io.IOException
getJarEntry in class java.net.JarURLConnectionjava.io.IOExceptionpublic java.util.jar.Attributes getAttributes()
throws java.io.IOException
getAttributes in class java.net.JarURLConnectionjava.io.IOExceptionpublic java.security.cert.Certificate[] getCertificates()
getCertificates in class java.net.JarURLConnectionpublic void connect()
connect in class java.net.URLConnectionpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOExceptionpublic java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in class java.net.URLConnectionjava.io.IOExceptionpublic int getContentLength()
getContentLength in class java.net.URLConnection