Defines a factory which creates an URLStreamHandler for a specified protocol.
More...
#include <src/main/decaf/net/URLStreamHandlerFactory.h>
Defines a factory which creates an URLStreamHandler for a specified protocol.
It is used by the class URL.
- Since
- 1.0
◆ ~URLStreamHandlerFactory()
virtual decaf::net::URLStreamHandlerFactory::~URLStreamHandlerFactory |
( |
| ) |
|
|
virtual |
◆ createURLStreamHandler()
virtual URLStreamHandler * decaf::net::URLStreamHandlerFactory::createURLStreamHandler |
( |
const std::string & | protocol | ) |
|
|
pure virtual |
Creates a new URLStreamHandler
instance for the given
protocol
.
- Parameters
-
protocol | the protocol for which a handler is needed. |
- Returns
- pointer to the created handler.
The documentation for this class was generated from the following file: