TAuthorityParser16 Class Reference

#include <authority16.h>

class TAuthorityParser16 : public TAuthorityC16

Inherits from

Detailed Description

Dependencies : TAuthorityC16 Comments : Provides functionality to parse a descriptor into the components of an authority as defined in RFC2396. There are 3 components; userinfo, host and port.

This uses 16-bit descriptors.

Format of an authority is; [userinfo@]host[:port]

CAUTION:

The descriptor that is parsed by an object of this class will be referenced by that object. If the original descriptor is no longer in scope there will be undefined behaviour.

DeprecatedDeprecated in 9.1. Use UriUtils::CreateAuthorityL() instead
Since
6.0

Constructor & Destructor Documentation

TAuthorityParser16 ( )

IMPORT_CTAuthorityParser16()

Constructor.

Since
6.0
DeprecatedDeprecated in 9.1

Member Function Documentation

Parse ( const TDesC16 & )

IMPORT_C TIntParse(const TDesC16 &aAuthority)

Parses the descriptor aAuthority into authority components.

Since
6.0
DeprecatedDeprecated in 9.1
Post-condition
The object references the input descriptor.
ParameterDescription
aAuthorityA reference to a descriptor pointer to be parsed.

Returns: KErrNone if the descriptor has been parsed into its authority components.