Class JarURLConnectionImpl
java.lang.Object
java.net.URLConnection
java.net.JarURLConnection
org.apache.commons.vfs2.provider.jar.JarURLConnectionImpl
A default URL connection that will work for most file systems.
-
Field Summary
Fields inherited from class java.net.JarURLConnection
jarFileURLConnection
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.net.JarURLConnection
getMainAttributes
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, 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, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
Constructor Details
-
JarURLConnectionImpl
public JarURLConnectionImpl(JarFileObject file, FileContent content) throws MalformedURLException, FileSystemException
-
-
Method Details
-
getJarFileURL
- Overrides:
getJarFileURL
in classJarURLConnection
-
getEntryName
- Overrides:
getEntryName
in classJarURLConnection
-
getJarFile
- Specified by:
getJarFile
in classJarURLConnection
- Throws:
IOException
-
getManifest
- Overrides:
getManifest
in classJarURLConnection
- Throws:
IOException
-
getJarEntry
- Overrides:
getJarEntry
in classJarURLConnection
- Throws:
IOException
-
getAttributes
- Overrides:
getAttributes
in classJarURLConnection
- Throws:
IOException
-
getCertificates
- Overrides:
getCertificates
in classJarURLConnection
-
connect
- Specified by:
connect
in classURLConnection
-
getInputStream
- Overrides:
getInputStream
in classURLConnection
- Throws:
IOException
-
getOutputStream
- Overrides:
getOutputStream
in classURLConnection
- Throws:
IOException
-
getContentLength
- Overrides:
getContentLength
in classURLConnection
-