Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <Authority16.h>
Link against: inetprotutil.lib

Class TAuthorityParser16

Interface status: deprecated Deprecated in 9.1. Use UriUtils::CreateAuthorityL() instead 6.0

class TAuthorityParser16 : public TAuthorityC16;

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]

Derivation

Members

Defined in TAuthorityParser16:

Inherited from TAuthorityC16:


Construction and destruction


TAuthorityParser16()

Interface status: deprecated Deprecated in 9.1

IMPORT_C TAuthorityParser16();

Description

Constructor.

[Top]


Member functions


Parse(const TDesC16 &)

Interface status: deprecated Deprecated in 9.1

IMPORT_C TInt Parse(const TDesC16 &aAuthority);

Description

Parses the descriptor aAuthority into authority components.

Post-Condition

The object references the input descriptor.

Parameters

const TDesC16 &aAuthority

A reference to a descriptor pointer to be parsed.

Return value

TInt

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