Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class TUriParser16

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

class TUriParser16 : public TUriC16;

Description

Dependencies : TUriC16 Comments : Provides functionality to parse a descriptor into the components of a uri as defined in RFC2396. There are 5 components; scheme, authority, path, query and fragment.

It uses 16-bit descriptors.

Format of a uri is; scheme://authority path?query#fragment

Derivation

Members

Defined in TUriParser16:

Inherited from TUriC16:


Construction and destruction


TUriParser16()

Interface status: deprecated Deprecated in 9.1

IMPORT_C TUriParser16();

Description

Constructor.

[Top]


Member functions


Parse(const TDesC16 &)

Interface status: deprecated Deprecated in 9.1

IMPORT_C TInt Parse(const TDesC16 &aUri);

Description

Parses the descriptor aUri into uri components.

Post-Condition

The object references the input descriptor.

Parameters

const TDesC16 &aUri

A reference to a descriptor pointer to be parsed.

Return value

TInt

KErrNone if the descriptor has been parsed into uri components. EUriParserErrInvalidUri if the descriptor is an invalid uri.