org.apache.axis2.classloader
Class JarFileUrlConnection

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

public class JarFileUrlConnection
extends java.net.JarURLConnection


Field Summary
static java.net.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(java.net.URL url, java.util.jar.JarFile jarFile, java.util.jar.JarEntry jarEntry)
           
 
Method Summary
 void connect()
           
 java.util.jar.Attributes getAttributes()
           
 java.security.cert.Certificate[] getCertificates()
           
 int getContentLength()
           
 java.lang.String getEntryName()
           
 java.io.InputStream getInputStream()
           
 java.util.jar.JarEntry getJarEntry()
           
 java.util.jar.JarFile getJarFile()
           
 java.net.URL getJarFileURL()
           
 long getLastModified()
           
 java.util.jar.Attributes getMainAttributes()
           
 java.util.jar.Manifest getManifest()
           
 java.security.Permission getPermission()
           
 java.net.URL getURL()
           
 java.lang.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 java.net.URL DUMMY_JAR_URL
Constructor Detail

JarFileUrlConnection

public JarFileUrlConnection(java.net.URL url,
                            java.util.jar.JarFile jarFile,
                            java.util.jar.JarEntry jarEntry)
                     throws java.net.MalformedURLException
Method Detail

getJarFile

public java.util.jar.JarFile getJarFile()
                                 throws java.io.IOException
Throws:
java.io.IOException

connect

public void connect()

getJarFileURL

public java.net.URL getJarFileURL()

getEntryName

public java.lang.String getEntryName()

getManifest

public java.util.jar.Manifest getManifest()
                                   throws java.io.IOException
Throws:
java.io.IOException

getJarEntry

public java.util.jar.JarEntry getJarEntry()

getAttributes

public java.util.jar.Attributes getAttributes()
                                       throws java.io.IOException
Throws:
java.io.IOException

getMainAttributes

public java.util.jar.Attributes getMainAttributes()
                                           throws java.io.IOException
Throws:
java.io.IOException

getCertificates

public java.security.cert.Certificate[] getCertificates()
                                                 throws java.io.IOException
Throws:
java.io.IOException

getURL

public java.net.URL getURL()

getContentLength

public int getContentLength()

getLastModified

public long getLastModified()

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Throws:
java.io.IOException

getPermission

public java.security.Permission getPermission()
                                       throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()


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