|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jogamp.common.net.GenericURLStreamHandlerFactory
public class GenericURLStreamHandlerFactory
| Method Summary | |
|---|---|
URLStreamHandler |
createURLStreamHandler(String protocol)
|
URLStreamHandler |
getHandler(String protocol)
Returns the protocol handler previously set via setHandler(String, URLStreamHandler),
or null if none was set. |
static GenericURLStreamHandlerFactory |
register()
Returns the singleton instance of the registered GenericURLStreamHandlerFactory or null if registration was not successful. |
URLStreamHandler |
setHandler(String protocol,
URLStreamHandler handler)
Sets the handler for protocol. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final URLStreamHandler setHandler(String protocol,
URLStreamHandler handler)
handler for protocol.
handler, or null if none was set.public final URLStreamHandler getHandler(String protocol)
protocol handler previously set via setHandler(String, URLStreamHandler),
or null if none was set.
public final URLStreamHandler createURLStreamHandler(String protocol)
createURLStreamHandler in interface URLStreamHandlerFactorypublic static GenericURLStreamHandlerFactory register()
Registration is only performed once.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||