Class JarURLConnectionImpl


  • public class JarURLConnectionImpl
    extends java.net.JarURLConnection
    A default URL connection that will work for most file systems.
    • Field Summary

      • Fields inherited from class java.net.JarURLConnection

        jarFileURLConnection
      • Fields inherited from class java.net.URLConnection

        allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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()  
      java.util.jar.Manifest getManifest()  
      java.io.OutputStream getOutputStream()  
      • Methods inherited from class java.net.JarURLConnection

        getMainAttributes
      • Methods 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getJarFileURL

        public java.net.URL getJarFileURL()
        Overrides:
        getJarFileURL in class java.net.JarURLConnection
      • getEntryName

        public java.lang.String getEntryName()
        Overrides:
        getEntryName in class java.net.JarURLConnection
      • getJarFile

        public java.util.jar.JarFile getJarFile()
                                         throws java.io.IOException
        Specified by:
        getJarFile in class java.net.JarURLConnection
        Throws:
        java.io.IOException
      • getManifest

        public java.util.jar.Manifest getManifest()
                                           throws java.io.IOException
        Overrides:
        getManifest in class java.net.JarURLConnection
        Throws:
        java.io.IOException
      • getJarEntry

        public java.util.jar.JarEntry getJarEntry()
                                           throws java.io.IOException
        Overrides:
        getJarEntry in class java.net.JarURLConnection
        Throws:
        java.io.IOException
      • getAttributes

        public java.util.jar.Attributes getAttributes()
                                               throws java.io.IOException
        Overrides:
        getAttributes in class java.net.JarURLConnection
        Throws:
        java.io.IOException
      • getCertificates

        public java.security.cert.Certificate[] getCertificates()
        Overrides:
        getCertificates in class java.net.JarURLConnection
      • connect

        public void connect()
        Specified by:
        connect in class java.net.URLConnection
      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Overrides:
        getInputStream in class java.net.URLConnection
        Throws:
        java.io.IOException
      • getOutputStream

        public java.io.OutputStream getOutputStream()
                                             throws java.io.IOException
        Overrides:
        getOutputStream in class java.net.URLConnection
        Throws:
        java.io.IOException
      • getContentLength

        public int getContentLength()
        Overrides:
        getContentLength in class java.net.URLConnection