org.viewaframework.util
Class ClassPathURLHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.viewaframework.util.ClassPathURLHandler

public class ClassPathURLHandler
extends URLStreamHandler

This class handles url's having "classpath" as possible protocol.

Author:
Mario Garcia

Constructor Summary
ClassPathURLHandler()
           
 
Method Summary
protected  URLConnection openConnection(URL u)
           
 
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

ClassPathURLHandler

public ClassPathURLHandler()
Method Detail

openConnection

protected URLConnection openConnection(URL u)
                                throws IOException
Specified by:
openConnection in class URLStreamHandler
Throws:
IOException


Copyright © 2010. All Rights Reserved.