TUriParser16 Class Reference

#include <uri16.h>

Link against: inetprotutil.lib

class TUriParser16 : public TUriC16

Inherits from

Detailed 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

DeprecatedDeprecated in 9.1. Use
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.

UriUtils::CreateUriL() instead
Since
6.0

Constructor & Destructor Documentation

TUriParser16 ( )

IMPORT_CTUriParser16()

Constructor.

DeprecatedDeprecated in 9.1
Since
6.0

Member Function Documentation

Parse ( const TDesC16 & )

IMPORT_C TIntParse(const TDesC16 &aUri)

Parses the descriptor aUri into uri components.

DeprecatedDeprecated in 9.1
Since
6.0
Post-condition
The object references the input descriptor.
Parameters
aUriA reference to a descriptor pointer to be parsed.
Return Value
KErrNone if the descriptor has been parsed into uri components. EUriParserErrInvalidUri if the descriptor is an invalid uri.