GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.common.net.GenericURLStreamHandlerFactory Class Reference
Inheritance diagram for com.jogamp.common.net.GenericURLStreamHandlerFactory:
Collaboration diagram for com.jogamp.common.net.GenericURLStreamHandlerFactory:

Public Member Functions

synchronized final URLStreamHandler setHandler (final String protocol, final URLStreamHandler handler)
 Sets the handler for protocol. More...
 
synchronized final URLStreamHandler getHandler (final String protocol)
 Returns the protocol handler previously set via setHandler(String, URLStreamHandler), or null if none was set. More...
 
synchronized final URLStreamHandler createURLStreamHandler (final String protocol)
 

Static Public Member Functions

static synchronized GenericURLStreamHandlerFactory register ()
 Returns the singleton instance of the registered GenericURLStreamHandlerFactory or null if registration was not successful. More...
 

Detailed Description

Definition at line 12 of file GenericURLStreamHandlerFactory.java.

Member Function Documentation

◆ createURLStreamHandler()

synchronized final URLStreamHandler com.jogamp.common.net.GenericURLStreamHandlerFactory.createURLStreamHandler ( final String  protocol)

Definition at line 39 of file GenericURLStreamHandlerFactory.java.

Here is the call graph for this function:

◆ getHandler()

synchronized final URLStreamHandler com.jogamp.common.net.GenericURLStreamHandlerFactory.getHandler ( final String  protocol)

Returns the protocol handler previously set via setHandler(String, URLStreamHandler), or null if none was set.

Definition at line 34 of file GenericURLStreamHandlerFactory.java.

Here is the caller graph for this function:

◆ register()

static synchronized GenericURLStreamHandlerFactory com.jogamp.common.net.GenericURLStreamHandlerFactory.register ( )
static

Returns the singleton instance of the registered GenericURLStreamHandlerFactory or null if registration was not successful.

Registration is only performed once.

Definition at line 50 of file GenericURLStreamHandlerFactory.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHandler()

synchronized final URLStreamHandler com.jogamp.common.net.GenericURLStreamHandlerFactory.setHandler ( final String  protocol,
final URLStreamHandler  handler 
)

Sets the handler for protocol.

Returns
the previous set handler, or null if none was set.

Definition at line 26 of file GenericURLStreamHandlerFactory.java.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: