org.jruby.util
Class CompoundJarURLStreamHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.jruby.util.CompoundJarURLStreamHandler

public class CompoundJarURLStreamHandler
extends java.net.URLStreamHandler


Field Summary
static java.lang.String PROTOCOL
           
 
Constructor Summary
CompoundJarURLStreamHandler()
           
 
Method Summary
static java.net.URL createUrl(java.net.URL base, java.util.List<java.lang.String> path)
           
static java.net.URL createUrl(java.net.URL base, java.lang.String... path)
           
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
 

Field Detail

PROTOCOL

public static final java.lang.String PROTOCOL
See Also:
Constant Field Values
Constructor Detail

CompoundJarURLStreamHandler

public CompoundJarURLStreamHandler()
Method Detail

createUrl

public static java.net.URL createUrl(java.net.URL base,
                                     java.util.List<java.lang.String> path)
                              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

createUrl

public static java.net.URL createUrl(java.net.URL base,
                                     java.lang.String... path)
                              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

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


Copyright © 2002-2009 JRuby Team. All Rights Reserved.