net.sf.doolin.util
Class URLUtils.GlobalURLStreamHandlerFactory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLUtils.GlobalURLStreamHandlerFactory
protected URLUtils.GlobalURLStreamHandlerFactory()
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 forstreamHandler - Handler associated with this protocol
Copyright © 2011. All Rights Reserved.