Class JarURLConnectionImpl
java.lang.Object
java.net.URLConnection
java.net.JarURLConnection
org.apache.commons.vfs.provider.jar.JarURLConnectionImpl
A default URL connection that will work for most file systems.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Brian Olsen
-
Field Summary
Fields inherited from class java.net.JarURLConnection
jarFileURLConnectionFields 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
getMainAttributesMethods 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:
getJarFileURLin classJarURLConnection
-
getEntryName
- Overrides:
getEntryNamein classJarURLConnection
-
getJarFile
- Specified by:
getJarFilein classJarURLConnection- Throws:
IOException
-
getManifest
- Overrides:
getManifestin classJarURLConnection- Throws:
IOException
-
getJarEntry
- Overrides:
getJarEntryin classJarURLConnection- Throws:
IOException
-
getAttributes
- Overrides:
getAttributesin classJarURLConnection- Throws:
IOException
-
getCertificates
- Overrides:
getCertificatesin classJarURLConnection
-
connect
public void connect()- Specified by:
connectin classURLConnection
-
getInputStream
- Overrides:
getInputStreamin classURLConnection- Throws:
IOException
-
getOutputStream
- Overrides:
getOutputStreamin classURLConnection- Throws:
IOException
-
getContentLength
public int getContentLength()- Overrides:
getContentLengthin classURLConnection
-