|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.runner.handler.internal.CompositeURLStreamHandlerFactory
public class CompositeURLStreamHandlerFactory
An composite URLStreamHandlerFactory that used it's internal list of registred URLStreamHandlerFactories to find out if they can handle the requestd protocol. First one that canhandle (does not return null) will be returned.
URLStreamHandlerFactory
Constructor Summary | |
---|---|
CompositeURLStreamHandlerFactory()
Creates a new composite url stream handler factory. |
Method Summary | |
---|---|
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
Searches the registered factories for one that can handle the protocol. |
CompositeURLStreamHandlerFactory |
registerFactory(java.net.URLStreamHandlerFactory factory)
Registeres a factory with the composite. |
CompositeURLStreamHandlerFactory |
unregisterFactory(java.net.URLStreamHandlerFactory factory)
Unregisteres a factory with the composite. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeURLStreamHandlerFactory()
Method Detail |
---|
public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
createURLStreamHandler
in interface java.net.URLStreamHandlerFactory
URLStreamHandlerFactory
public CompositeURLStreamHandlerFactory registerFactory(java.net.URLStreamHandlerFactory factory)
factory
- to be registered. Cannot be null.
public CompositeURLStreamHandlerFactory unregisterFactory(java.net.URLStreamHandlerFactory factory)
factory
- to be unregistered. Cannot be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |