org.codehaus.classworlds.uberjar.protocol.jar
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.codehaus.classworlds.uberjar.protocol.jar.Handler

public class Handler
extends URLStreamHandler

URLStreamHandler for jar: protocol URLs.

Version:
$Id: Handler.java 126 2006-01-12 04:17:51Z $
Author:
bob mcwhirter

Constructor Summary
Handler()
          Construct.
 
Method Summary
static Handler getInstance()
          Retrieve the singleton instance.
 URLConnection openConnection(URL url)
           
 void parseURL(URL url, String spec, int start, int limit)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Handler

public Handler()
Construct.

Method Detail

getInstance

public static Handler getInstance()
Retrieve the singleton instance.

Returns:
The singleton instance.

openConnection

public URLConnection openConnection(URL url)
                             throws IOException
Specified by:
openConnection in class URLStreamHandler
Throws:
IOException
See Also:
URLStreamHandler

parseURL

public void parseURL(URL url,
                     String spec,
                     int start,
                     int limit)
Overrides:
parseURL in class URLStreamHandler
See Also:
URLStreamHandler