org.xwiki.classloader.internal
Interface JarURLConnection


public interface JarURLConnection

Common interface to be implemented by all URLConnection implementations that wish to override the getJarFile() method from JarURLConnection.

Since:
3.1M1
Version:
$Id$

Method Summary
 java.util.jar.JarFile getJarFile()
          Return the JAR file for this connection.
 

Method Detail

getJarFile

java.util.jar.JarFile getJarFile()
                                 throws java.io.IOException
Return the JAR file for this connection.

Returns:
the JAR file for this connection. If the connection is a connection to an entry of a JAR file, the JAR file object is returned
Throws:
java.io.IOException - if an IOException occurs while trying to connect to the JAR file for this connection.
See Also:
JarURLConnection.getJarFile()


Copyright © 2004-2011 XWiki. All Rights Reserved.