public class JarURLConnectionImpl extends JarURLConnection
jarFileURLConnectionallowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
JarURLConnectionImpl(JarFileObject jarFileObject,
FileContent fileContent)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
Attributes |
getAttributes() |
Certificate[] |
getCertificates() |
int |
getContentLength() |
String |
getEntryName() |
InputStream |
getInputStream() |
JarEntry |
getJarEntry() |
JarFile |
getJarFile() |
URL |
getJarFileURL() |
Manifest |
getManifest() |
OutputStream |
getOutputStream() |
getMainAttributesaddRequestProperty, 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, toStringpublic JarURLConnectionImpl(JarFileObject jarFileObject, FileContent fileContent) throws MalformedURLException, FileSystemException
jarFileObject - The JAR file.fileContent - THe JAR file contents.MalformedURLException - Should not happen.FileSystemException - if an error occurs accessing the JAR file.public void connect()
connect in class URLConnectionpublic Attributes getAttributes() throws IOException
getAttributes in class JarURLConnectionIOExceptionpublic Certificate[] getCertificates()
getCertificates in class JarURLConnectionpublic int getContentLength()
getContentLength in class URLConnectionpublic String getEntryName()
getEntryName in class JarURLConnectionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionpublic JarEntry getJarEntry() throws IOException
getJarEntry in class JarURLConnectionIOExceptionpublic JarFile getJarFile() throws IOException
getJarFile in class JarURLConnectionIOExceptionpublic URL getJarFileURL()
getJarFileURL in class JarURLConnectionpublic Manifest getManifest() throws IOException
getManifest in class JarURLConnectionIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in class URLConnectionIOExceptionCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.