#include <src/main/decaf/internal/net/URLStreamHandlerManager.h>
virtual decaf::internal::net::URLStreamHandlerManager::~URLStreamHandlerManager |
( |
| ) |
|
|
virtual |
Gets a URLStreamHandler for the specified protocol if one is available.
- Parameters
-
protocol | The protocol to return a URL Stream Handler instance for. |
- Returns
- a URLStreamHandler instance for the given protocol.
Sets an application's URLStreamHandlerFactory.
This method can be called at most once.
The URLStreamHandlerFactory instance is used to construct a stream protocol handler from a protocol name. The provided factory becomes the property of this runtime and will be deleted at shutdown.
- Parameters
-
factory | the desired factory. |
- Exceptions
-
Exception | if there is already a set factory. |
The documentation for this class was generated from the following file: