| |
|
| java.lang.Object java.net.URLConnection java.net.JarURLConnection
JarURLConnection | abstract public class JarURLConnection extends URLConnection (Code) | | This class establishes a connection to a URL using the jar protocol. Jar URLs
are specified as follows: jar:!/{entry}
where "!/" is called a seperator.
|
Constructor Summary | |
protected | JarURLConnection(URL url) Constructs an instance of JarURLConnection . |
JarURLConnection | protected JarURLConnection(URL url) throws MalformedURLException(Code) | | Constructs an instance of JarURLConnection .
Parameters: url - java.net.URL the URL that contains the location to connect to |
getAttributes | public Attributes getAttributes() throws java.io.IOException(Code) | | Answers the attributes of the JarEntry referenced by this
JarURLConnection .
java.util.jar.Attributes the attributes of the the JarEntry exception: java.io.IOException - thrown if an IO exception occurs while retrieving theJarEntry |
getCertificates | public Certificate[] getCertificates() throws java.io.IOException(Code) | | Answers the Certificates of the JarEntry referenced by this
URLConnection . This method will return null until the
InputStream has been completely verified
Certificate[] the Certificates of the JarEntry. exception: java.io.IOException - thrown if there is an IO exception occurs while gettingthe JarEntry. |
getEntryName | public String getEntryName()(Code) | | Answers the JarEntry name of the entry referenced by this
URLConnection .
java.lang.String the JarEntry name |
getJarEntry | public JarEntry getJarEntry() throws IOException(Code) | | Answers the JarEntry of the entry referenced by this
URLConnection .
java.util.jar.JarEntry the JarEntry referenced |
getJarFile | abstract public JarFile getJarFile() throws java.io.IOException(Code) | | Answers the the JarFile referenced by this URLConnection .
java.util.jar.JarFile the JarFile exception: java.io.IOException - thrown if an IO exception occurs while retrieving the Jarfile |
getJarFileURL | public URL getJarFileURL()(Code) | | Answers the URL of the JarFile referenced by this
URLConnection .
java.net.URL the URL of the JarFile. |
getMainAttributes | public Attributes getMainAttributes() throws java.io.IOException(Code) | | Answers the main Attributes of the JarFile referenced by this
URLConnection .
java.util.jar.Attributes the Attributes of the the JarFile exception: java.io.IOException - thrown if an IO exception occurs while retrieving theJarFile |
getManifest | public Manifest getManifest() throws java.io.IOException(Code) | | Answers the Manifest associated with the Jar URL
java.util.jar.Manifest The JarFile's Manifest |
|
|
|