类 ParentAwareURLStreamHandlerFactory
java.lang.Object
ref.org.apache.commons.jnet.ParentAwareURLStreamHandlerFactory
- 所有已实现的接口:
URLStreamHandlerFactory
public abstract class ParentAwareURLStreamHandlerFactory
extends Object
implements URLStreamHandlerFactory
A parent aware url stream handler factory delegates to a parent
url stream handler factory,
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract URLStreamHandlerThis method can be overwritten by subclasses to instantiate url stream handlers for the given protocol.createURLStreamHandler(String protocol) Return the parent factory.voidsetParentFactory(URLStreamHandlerFactory factory) Set the parent factory.
-
字段详细资料
-
parentFactory
-
-
构造器详细资料
-
ParentAwareURLStreamHandlerFactory
public ParentAwareURLStreamHandlerFactory()
-
-
方法详细资料
-
setParentFactory
Set the parent factory.- 参数:
factory-
-
getParent
Return the parent factory.- 返回:
- The parent factory.
-
createURLStreamHandler
-
create
This method can be overwritten by subclasses to instantiate url stream handlers for the given protocol.- 参数:
protocol- The protocol.- 返回:
- A url stream handler for the protocol or null.
-