From: dahyeong.kim Date: Fri, 14 Jun 2013 02:25:07 +0000 (+0900) Subject: Modify Uri example code using 'osp' X-Git-Tag: submit/tizen_2.2/20130714.152805~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4a44e76152b58b5d527e7b3d5a8e786c592564e;p=framework%2Fosp%2Fappfw.git Modify Uri example code using 'osp' Change-Id: I973d3fb01c1ec777f1e2afbb7f14eaf8b72677c2 Signed-off-by: dahyeong.kim --- diff --git a/inc/FBaseUtilUri.h b/inc/FBaseUtilUri.h index d2e0bec..74593fc 100644 --- a/inc/FBaseUtilUri.h +++ b/inc/FBaseUtilUri.h @@ -55,9 +55,9 @@ namespace Tizen { namespace Base { namespace Utility * void * MyClass::UriSample(void) * { - * String base(L"http://www.samsung.com"); - * String against(L"/osp/framework/index.html"); - * String resolveString(L"http://www.samsung.com/osp/framework/index.html"); + * String base(L"https://developer.tizen.org"); + * String against(L"/downloads/tizen-sdk"); + * String resolveString(L"https://developer.tizen.org/downloads/tizen-sdk"); * * Uri baseUri; * baseUri.SetUri(base); @@ -73,7 +73,6 @@ namespace Tizen { namespace Base { namespace Utility * { * // ... * } - * * } * @endcode */ @@ -414,12 +413,12 @@ public: * The following example demonstrates how to use the %GetEncodedString() method. * * @code - * String str(L"http://www.sec.com/osp?currency==\u20ac"); + * String str(L"https://www.tizen.org/?currency==\u20ac"); * * Uri uri; * uri.SetUri(str); * - * String encode = uri.GetEncodedString(); // encode == L"http://www.sec.com/osp?currency==%E2%82%AC" + * String encode = uri.GetEncodedString(); // encode == L"https://www.tizen.org/?currency==%E2%82%AC" * * @endcode */ @@ -566,11 +565,9 @@ public: * @exception E_SUCCESS The method is successful. * @exception E_OUT_OF_MEMORY The memory is insufficient. * @remarks Resolution is the process of resolving a URI against another, base URI. For hierarchical URI, - * the path of the original is resolved against the path of the base URI and then normalized. @n - * - * For example, to resolve the URI "/osp/framework/index.html" against the base URI "http://www.samsung.com" , - * the resultant URI is "http://www.samsung.com/osp/framework/index.html". - * + * the path of the original is resolved against the path of the base URI and then normalized. @ + * For example, to resolve the URI "/downloads/tizen-sdk" against the base URI "https://developer.tizen.org", + * the resultant URI is "https://developer.tizen.org/downloads/tizen-sdk". */ result Resolve(const Uri& uri, Uri& resultUri);