public class CustomURLStreamHandlerFactory extends Object implements URLStreamHandlerFactory
URLStreamHandlerFactory.
 The handlers it can dispense are configured using a map; the keys of
 the map are protocol names and its values are the names of classes
 which implement URLStreamHandler (and have no-arg
 constructors).URL| Constructor and Description | 
|---|
CustomURLStreamHandlerFactory()
Constructs a no-op handler factory. 
 | 
CustomURLStreamHandlerFactory(Map<String,String> classMap)
Constructs a handler factory initialised with a given 
 protocol->classname map. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
URLStreamHandler | 
createURLStreamHandler(String protocol)  | 
Map<String,String> | 
getHandlerClassMap()
Returns the protocol->classname map that describes this factory. 
 | 
public CustomURLStreamHandlerFactory()
public Map<String,String> getHandlerClassMap()
public URLStreamHandler createURLStreamHandler(String protocol)
createURLStreamHandler in interface URLStreamHandlerFactoryCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.