artefaktur
software engineer &        architecture

 
 
 
 

class URLStreamHandlerFactory

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::net::URLStreamHandlerFactory Class Reference

#include <URLStreamHandlerFactory.h>

Inheritance diagram for acdk::net::URLStreamHandlerFactory:

acdk::net::ftp::FTPUrlStreamHandlerFactory acdkx::net::ssl::HTTPSUrlStreamHandlerFactory List of all members.

Detailed Description

registry for URLStreamHandler


Public Member Functions

virtual RURLStreamHandler createURLStreamHandler (IN(RString) protocol)=0
 This method maps the protocol portion of a URL to a URLStreamHandler object.


Static Public Member Functions

void registerFactory (IN(RString) protocol, IN(RURLStreamHandlerFactory) factory)
 register specific factory for a protocol

RURLStreamHandlerFactory getFactory (IN(RString) protocol)
RURLStreamHandler getProtocolHandler (IN(RString) protocol)

Static Private Member Functions

 OUT (acdk::util::RHashMap) getFactories()
RURLStreamHandlerFactory _getProtocolFromProperties (IN(RString) protocol)

Friends

class URLFactoryInitializer

Member Function Documentation

RURLStreamHandlerFactory acdk::net::URLStreamHandlerFactory::_getProtocolFromProperties IN(RString)  protocol  )  [static, private]
 

virtual RURLStreamHandler acdk::net::URLStreamHandlerFactory::createURLStreamHandler IN(RString)  protocol  )  [pure virtual]
 

This method maps the protocol portion of a URL to a URLStreamHandler object.

Parameters:
protocol The protocol name to map (", etc).
Returns:
The URLStreamHandler for the specified protocol

Implemented in acdk::net::ftp::FTPUrlStreamHandlerFactory, and acdkx::net::ssl::HTTPSUrlStreamHandlerFactory.

RURLStreamHandlerFactory acdk::net::URLStreamHandlerFactory::getFactory IN(RString)  protocol  )  [static]
 

Returns:
factory for a given protocol
Exceptions:
MalformedURLException if no factory exists for this protocol

RURLStreamHandler acdk::net::URLStreamHandlerFactory::getProtocolHandler IN(RString)  protocol  )  [static]
 

acdk::net::URLStreamHandlerFactory::OUT acdk::util::RHashMap   )  [static, private]
 

void acdk::net::URLStreamHandlerFactory::registerFactory IN(RString)  protocol,
IN(RURLStreamHandlerFactory)  factory
[static]
 

register specific factory for a protocol


Friends And Related Function Documentation

friend class URLFactoryInitializer [friend]
 

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer