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, toString
private 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.MalformedURLException
FileSystemException
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.JarFile getJarFile() throws java.io.IOException
getJarFile
in class java.net.JarURLConnection
java.io.IOException
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() throws java.io.IOException
getJarEntry
in class java.net.JarURLConnection
java.io.IOException
public java.util.jar.Attributes getAttributes() throws java.io.IOException
getAttributes
in class java.net.JarURLConnection
java.io.IOException
public java.security.cert.Certificate[] getCertificates()
getCertificates
in class java.net.JarURLConnection
public void connect()
connect
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.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class java.net.URLConnection
java.io.IOException
public int getContentLength()
getContentLength
in class java.net.URLConnection