gate.util.protocols.gate
Class Handler

java.lang.Object
  extended byjava.net.URLStreamHandler
      extended bygate.util.protocols.gate.Handler

public class Handler
extends URLStreamHandler

The handler for the "gate://" URLs. All this class does is to transparently transform a "gate://" URL into an URL of the corresponding type and forward all requests through it.


Field Summary
(package private) static Map conversionMap
           
 
Constructor Summary
Handler()
           
 
Method Summary
protected  URLConnection openConnection(URL u)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, 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

conversionMap

static Map conversionMap
Constructor Detail

Handler

public Handler()
Method Detail

openConnection

protected URLConnection openConnection(URL u)
                                throws IOException
Throws:
IOException