org.eclipse.osgi.framework.internal.protocol
Class MultiplexingURLStreamHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.eclipse.osgi.framework.internal.protocol.MultiplexingURLStreamHandler

public class MultiplexingURLStreamHandler
extends URLStreamHandler


Constructor Summary
MultiplexingURLStreamHandler(String protocol, StreamHandlerFactory factory)
           
 
Method Summary
protected  boolean equals(URL url1, URL url2)
           
protected  int getDefaultPort()
           
protected  InetAddress getHostAddress(URL url)
           
protected  int hashCode(URL url)
           
protected  boolean hostsEqual(URL url1, URL url2)
           
protected  URLConnection openConnection(URL url)
           
protected  void parseURL(URL arg0, String arg1, int arg2, int arg3)
           
protected  boolean sameFile(URL url1, URL url2)
           
protected  void setURL(URL arg0, String arg1, String arg2, int arg3, String arg4, String arg5, String arg6, String arg7, String arg8)
           
protected  String toExternalForm(URL url)
           
 
Methods inherited from class java.net.URLStreamHandler
openConnection, setURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiplexingURLStreamHandler

public MultiplexingURLStreamHandler(String protocol,
                                    StreamHandlerFactory factory)
Method Detail

openConnection

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

equals

protected boolean equals(URL url1,
                         URL url2)
Overrides:
equals in class URLStreamHandler

getDefaultPort

protected int getDefaultPort()
Overrides:
getDefaultPort in class URLStreamHandler

getHostAddress

protected InetAddress getHostAddress(URL url)
Overrides:
getHostAddress in class URLStreamHandler

hashCode

protected int hashCode(URL url)
Overrides:
hashCode in class URLStreamHandler

hostsEqual

protected boolean hostsEqual(URL url1,
                             URL url2)
Overrides:
hostsEqual in class URLStreamHandler

parseURL

protected void parseURL(URL arg0,
                        String arg1,
                        int arg2,
                        int arg3)
Overrides:
parseURL in class URLStreamHandler

sameFile

protected boolean sameFile(URL url1,
                           URL url2)
Overrides:
sameFile in class URLStreamHandler

setURL

protected void setURL(URL arg0,
                      String arg1,
                      String arg2,
                      int arg3,
                      String arg4,
                      String arg5,
                      String arg6,
                      String arg7,
                      String arg8)
Overrides:
setURL in class URLStreamHandler

toExternalForm

protected String toExternalForm(URL url)
Overrides:
toExternalForm in class URLStreamHandler


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.