net.sf.jpackit.pkg.classloader.url
Class JPackitURLStreamHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by net.sf.jpackit.pkg.classloader.url.JPackitURLStreamHandler

public class JPackitURLStreamHandler
extends java.net.URLStreamHandler

JPackitURLStreamHandler is implementation of java.net.URLStreamHandler for handling URLConnection to internal jar representation.

Author:
Kamil K. Shamgunov

Constructor Summary
JPackitURLStreamHandler(JPackitClassLoaderContext context)
          Creates a new instance of JPackitURLStreamHandler
 
Method Summary
protected  java.net.URLConnection openConnection(java.net.URL url)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPackitURLStreamHandler

public JPackitURLStreamHandler(JPackitClassLoaderContext context)
Creates a new instance of JPackitURLStreamHandler

Method Detail

openConnection

protected java.net.URLConnection openConnection(java.net.URL url)
                                         throws java.io.IOException
Specified by:
openConnection in class java.net.URLStreamHandler
Throws:
java.io.IOException