org.apache.geronimo.kernel.classloader
Class JarFileUrlConnection

java.lang.Object
  extended byjava.net.URLConnection
      extended byjava.net.JarURLConnection
          extended byorg.apache.geronimo.kernel.classloader.JarFileUrlConnection

public class JarFileUrlConnection
extends JarURLConnection

Version:
$Rev: 409817 $ $Date: 2006-05-27 09:56:38 +0200 (Sat, 27 May 2006) $

Field Summary
static URL DUMMY_JAR_URL
           
 
Fields inherited from class java.net.JarURLConnection
jarFileURLConnection
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, useCaches
 
Constructor Summary
JarFileUrlConnection(URL url, JarFile jarFile, JarEntry jarEntry)
           
 
Method Summary
 void connect()
           
 Attributes getAttributes()
           
 Certificate[] getCertificates()
           
 int getContentLength()
           
 String getEntryName()
           
 InputStream getInputStream()
           
 JarEntry getJarEntry()
           
 JarFile getJarFile()
           
 URL getJarFileURL()
           
 long getLastModified()
           
 Attributes getMainAttributes()
           
 Manifest getManifest()
           
 Permission getPermission()
           
 URL getURL()
           
 String toString()
           
 
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, getOutputStream, getRequestProperties, getRequestProperty, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DUMMY_JAR_URL

public static final URL DUMMY_JAR_URL
Constructor Detail

JarFileUrlConnection

public JarFileUrlConnection(URL url,
                            JarFile jarFile,
                            JarEntry jarEntry)
                     throws MalformedURLException
Method Detail

getJarFile

public JarFile getJarFile()
                   throws IOException
Throws:
IOException

connect

public void connect()

getJarFileURL

public URL getJarFileURL()

getEntryName

public String getEntryName()

getManifest

public Manifest getManifest()
                     throws IOException
Throws:
IOException

getJarEntry

public JarEntry getJarEntry()

getAttributes

public Attributes getAttributes()
                         throws IOException
Throws:
IOException

getMainAttributes

public Attributes getMainAttributes()
                             throws IOException
Throws:
IOException

getCertificates

public Certificate[] getCertificates()
                              throws IOException
Throws:
IOException

getURL

public URL getURL()

getContentLength

public int getContentLength()

getLastModified

public long getLastModified()

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

getPermission

public Permission getPermission()
                         throws IOException
Throws:
IOException

toString

public String toString()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.