org.apache.commons.jnet
Class URLStreamHandlerFactoryWrapper
java.lang.Object
org.apache.commons.jnet.ParentAwareURLStreamHandlerFactory
org.apache.commons.jnet.URLStreamHandlerFactoryWrapper
- All Implemented Interfaces:
- URLStreamHandlerFactory
public class URLStreamHandlerFactoryWrapper
- extends ParentAwareURLStreamHandlerFactory
This is a wrapper to make a url stream handler factory a parent aware url stream
handler factory.
Method Summary |
protected URLStreamHandler |
create(String protocol)
This method can be overwritten by subclasses to instantiate url stream
handlers for the given protocol. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrapper
protected final URLStreamHandlerFactory wrapper
URLStreamHandlerFactoryWrapper
public URLStreamHandlerFactoryWrapper(URLStreamHandlerFactory f)
create
protected URLStreamHandler create(String protocol)
- Description copied from class:
ParentAwareURLStreamHandlerFactory
- This method can be overwritten by subclasses to instantiate url stream
handlers for the given protocol.
- Specified by:
create
in class ParentAwareURLStreamHandlerFactory
- Parameters:
protocol
- The protocol.
- Returns:
- A url stream handler for the protocol or null.
- See Also:
ParentAwareURLStreamHandlerFactory.create(java.lang.String)
Copyright © 2007-2008 The Apache Software Foundation. All Rights Reserved.