org.apache.commons.vfs.provider.jar
Class JarURLConnectionImpl
java.lang.Object
java.net.URLConnection
java.net.JarURLConnection
org.apache.commons.vfs.provider.jar.JarURLConnectionImpl
- public class JarURLConnectionImpl
- extends JarURLConnection
A default URL connection that will work for most file systems.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
- Author:
- Brian Olsen
Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString |
JarURLConnectionImpl
public JarURLConnectionImpl(JarFileObject file,
FileContent content)
throws MalformedURLException,
FileSystemException
getJarFileURL
public URL getJarFileURL()
getEntryName
public String getEntryName()
getJarFile
public JarFile getJarFile()
throws IOException
- Throws:
IOException
getManifest
public Manifest getManifest()
throws IOException
- Throws:
IOException
getJarEntry
public JarEntry getJarEntry()
throws IOException
- Throws:
IOException
getAttributes
public Attributes getAttributes()
throws IOException
- Throws:
IOException
getCertificates
public Certificate[] getCertificates()
connect
public void connect()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
getContentLength
public int getContentLength()
Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.