URL.setURLStreamHandlerFactory
Class Overview | Class Members |
This Package |
All Packages
public static synchronized void setURLStreamHandlerFactory( URLStreamHandlerFactory fac )
Parameters
- fac
- the desired factory.
Description
Sets an application's URLStreamHandlerFactory.
This method can be called at most once by an application.
The URLStreamHandlerFactory instance is used to
construct a stream protocol handler from a protocol name.
Exceptions
Error
if the application has already set a factory.
See Also
URL, URLStreamHandlerFactory