|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.emory.mathcs.util.classloader.jar.JarProxy
Implementation of JarURLConnection.JarOpener
that caches downloaded
JAR files in a local file system.
JarURLConnection
,
JarURLStreamHandler
Constructor Summary | |
JarProxy()
|
Method Summary | |
protected void |
clear()
|
protected void |
finalize()
|
protected java.io.InputStream |
getJarInputStream(java.net.URLConnection conn)
|
java.util.jar.JarFile |
openJarFile(java.net.JarURLConnection conn)
Given the URL connection (not yet connected), return JarFile representing the resource. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JarProxy()
Method Detail |
public java.util.jar.JarFile openJarFile(java.net.JarURLConnection conn) throws java.io.IOException
JarURLConnection.JarOpener
JarURLConnection.connect()
method in JarURLConnection.
openJarFile
in interface JarURLConnection.JarOpener
conn
- the connection for which the JAR file is required
java.io.IOException
- if I/O error occursprotected java.io.InputStream getJarInputStream(java.net.URLConnection conn) throws java.io.IOException
java.io.IOException
protected void clear()
protected void finalize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |