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

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

public class NonLockingJarHandler
extends java.net.URLStreamHandler

This is copied from Classwords 1.1 org.codehaus.classworlds.uberjar.protocol.jar.Handler so that an additional dependency does not need to be added to plugins. The formatting is left as is to reduce the diff.


Constructor Summary
NonLockingJarHandler()
          Construct.
 
Method Summary
static NonLockingJarHandler getInstance()
          Retrieve the singleton instance.
 java.net.URLConnection openConnection(java.net.URL url)
           
 void parseURL(java.net.URL url, java.lang.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

NonLockingJarHandler

public NonLockingJarHandler()
Construct.

Method Detail

getInstance

public static NonLockingJarHandler getInstance()
Retrieve the singleton instance.

Returns:
The singleton instance.

openConnection

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

parseURL

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


Copyright © 2013 Atlassian. All Rights Reserved.