|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.net.IdeURLStreamHandlerFactory
This is the one and only URLStreamHandlerFactory that we can
register with the URL class. Additional
instances of URLStreamHandlerFactory can be chained together
through the addFactory(URLStreamHandlerFactory) method.
| Method Summary | |
static void |
addFactory(java.net.URLStreamHandlerFactory factory)
Use this method to register additional instances of URLStreamHandlerFactory that should be used by the IDE
when dealing with URLs. |
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
|
static java.net.URLStreamHandlerFactory |
getInstance()
Enforces the singleton nature of this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.net.URLStreamHandlerFactory getInstance()
public static void addFactory(java.net.URLStreamHandlerFactory factory)
URLStreamHandlerFactory that should be used by the IDE
when dealing with URLs. This allows multiple
factories to be used instead of just a single factory as required
by URL. The factories are chained together
in the order in which they are registered, which means that
earlier factories get the first crack at handling an
URL.
public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
createURLStreamHandler in interface java.net.URLStreamHandlerFactory
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.