Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.emory.mathcs.util.classloader.jar
Interface JarURLConnection.JarOpener

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
Author:
  Dawid Kurzyniec

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 `JarURLConnection.connect()` method in JarURLConnection.

  Parameters:
    `conn` - the connection for which the JAR file is required
  Returns:
    opened JAR file
  Throws:
    `java.io.IOException` - if I/O error occurs

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD