org.apache.commons.vfs2.provider.jar
Class JarURLConnectionImpl
java.lang.Object
java.net.URLConnection
java.net.JarURLConnection
org.apache.commons.vfs2.provider.jar.JarURLConnectionImpl
public class JarURLConnectionImpl
- extends JarURLConnection
A default URL connection that will work for most file systems.
- Author:
- Commons VFS team
Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, 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 |
JarURLConnectionImpl
public JarURLConnectionImpl(JarFileObject file,
FileContent content)
throws MalformedURLException,
FileSystemException
- Throws:
MalformedURLException
FileSystemException
getJarFileURL
public URL getJarFileURL()
- Overrides:
getJarFileURL
in class JarURLConnection
getEntryName
public String getEntryName()
- Overrides:
getEntryName
in class JarURLConnection
getJarFile
public JarFile getJarFile()
throws IOException
- Specified by:
getJarFile
in class JarURLConnection
- Throws:
IOException
getManifest
public Manifest getManifest()
throws IOException
- Overrides:
getManifest
in class JarURLConnection
- Throws:
IOException
getJarEntry
public JarEntry getJarEntry()
throws IOException
- Overrides:
getJarEntry
in class JarURLConnection
- Throws:
IOException
getAttributes
public Attributes getAttributes()
throws IOException
- Overrides:
getAttributes
in class JarURLConnection
- Throws:
IOException
getCertificates
public Certificate[] getCertificates()
- Overrides:
getCertificates
in class JarURLConnection
connect
public void connect()
- Specified by:
connect
in class URLConnection
getInputStream
public InputStream getInputStream()
throws IOException
- Overrides:
getInputStream
in class URLConnection
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Overrides:
getOutputStream
in class URLConnection
- Throws:
IOException
getContentLength
public int getContentLength()
- Overrides:
getContentLength
in class URLConnection
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.