#include <uri8.h>
class TUriParser8 : public TUriC8 |
Public Member Functions | |
---|---|
TUriParser8() | |
IMPORT_C TInt | Parse(const TDesC8 &) |
Inherited Attributes | |
---|---|
TUriC8::iComponent | |
TUriC8::iUriDes |
Dependencies : TUriC8 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 8-bit descriptors.
Format of a uri is; scheme://authority path?query#fragment
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.
Parses the descriptor aUri into uri components.
Parameter | Description |
---|---|
aUri | A reference to a descriptor pointer to be parsed. |
Returns: KErrNone if the descriptor has been parsed into uri components. KUriUtilsParserErrInvalidUri if the descriptor is an invalid uri. KErrNoMemory if out of memory