net.sf.doolin.util
Class URLUtils.GlobalURLStreamHandlerFactory

java.lang.Object
  extended by net.sf.doolin.util.URLUtils.GlobalURLStreamHandlerFactory
All Implemented Interfaces:
URLStreamHandlerFactory
Enclosing class:
URLUtils

protected static class URLUtils.GlobalURLStreamHandlerFactory
extends Object
implements URLStreamHandlerFactory

Global stream handler factory


Constructor Summary
protected URLUtils.GlobalURLStreamHandlerFactory()
           
 
Method Summary
 URLStreamHandler createURLStreamHandler(String protocol)
           
 void registerStreamHandler(String protocol, URLStreamHandler streamHandler)
          Registers a new stream handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLUtils.GlobalURLStreamHandlerFactory

protected URLUtils.GlobalURLStreamHandlerFactory()
Method Detail

createURLStreamHandler

public URLStreamHandler createURLStreamHandler(String protocol)
Specified by:
createURLStreamHandler in interface URLStreamHandlerFactory
See Also:
URLStreamHandlerFactory.createURLStreamHandler(java.lang.String)

registerStreamHandler

public void registerStreamHandler(String protocol,
                                  URLStreamHandler streamHandler)
Registers a new stream handler

Parameters:
protocol - Protocol to register the handler for
streamHandler - Handler associated with this protocol


Copyright © 2011. All Rights Reserved.