Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.emory.mathcs.util.classloader.jar
Interface JarURLConnection.JarOpener  view JarURLConnection.JarOpener download JarURLConnection.JarOpener.java

All Known Implementing Classes:
JarProxy
Enclosing interface:
JarURLConnection

public static interface JarURLConnection.JarOpener

Abstraction of JAR opener which allows to implement various caching policies. The opener receives URL pointing to the JAR file, along with other meta-information, as a JarURLConnection instance. Then it has to download the file (if it is remote) and open it.

Version:
1.0

Method Summary
 java.util.jar.JarFile openJarFile(java.net.JarURLConnection conn)
          Given the URL connection (not yet connected), return JarFile representing the resource.
 

Method Detail

openJarFile

public java.util.jar.JarFile openJarFile(java.net.JarURLConnection conn)
                                  throws java.io.IOException
Given the URL connection (not yet connected), return JarFile representing the resource. This method is invoked as a part of the connect method in JarURLConnection.