~thopiekar/zypper/libzypp-manual-import

« back to all changes in this revision

Viewing changes to zypp/Url.h

  • Committer: Thomas-Karl Pietrowski
  • Date: 2015-08-15 15:59:50 UTC
  • Revision ID: thopiekar@googlemail.com-20150815155950-j66qn38efmvn289t
syncing with "changes 15.13.0 (11)"  #9a0aca7e3a21d768491b141a8ae86ef0c3fbc227
* https://github.com/openSUSE/libzypp/commit/9a0aca7e3a21d768491b141a8ae86ef0c3fbc227

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
   *
46
46
   * Using the Url::registerScheme() method, it is possible to register
47
47
   * a preconfigured or derived UrlBase object for a specific scheme
48
 
   * name. The registered object will be cloned to handle all URL's
 
48
   * name. The registered object will be cloned to handle all URLs
49
49
   * containing the specified scheme name.
50
50
   *
51
51
   * \par RFC3986, Syntax Components:
131
131
     * \brief Construct a Url object from percent-encoded URL string.
132
132
     *
133
133
     * Parses the \p encodedUrl string using the parseUrl() method
134
 
     * and assings the result to the new created object.
 
134
     * and assigns the result to the newly created object.
135
135
     *
136
136
     * \param encodedUrl A percent-encoded URL string.
137
137
     * \throws url::UrlParsingException if parsing of the url fails.
147
147
    /**
148
148
     * \brief Parse a percent-encoded URL string.
149
149
     *
150
 
     * Trys to parses the given string into generic URL components
151
 
     * and created a clone of a scheme-specialized object or a new
 
150
     * Tries to parse the given string into generic URL components
 
151
     * and creates a clone of a scheme-specialized object or a new
152
152
     * UrlBase object.
153
153
     *
154
154
     * \param encodedUrl A percent-encoded URL string.
184
184
 
185
185
 
186
186
    /**
187
 
     * \brief Assign shared copy of \p url to the current object.
 
187
     * \brief Assign a shared copy of \p url to the current object.
188
188
     *
189
189
     * Upon return, both objects will point to the same underlying
190
 
     * object. This state will remain until one of the object is
 
190
     * object. This state will remain until one of the objects is
191
191
     * modified.
192
192
     *
193
193
     * \param url The Url object to make a copy of.
234
234
 
235
235
 
236
236
    /**
237
 
     * \brief Verifies specified scheme name.
 
237
     * \brief Verifies the specified scheme name.
238
238
     *
239
239
     * Verifies the generic syntax of the specified \p scheme name
240
240
     * and if it is contained in the current object's list of known
315
315
     *
316
316
     * This function ignores the configuration of the view options
317
317
     * in the current object (see setViewOption()) and forces to
318
 
     * return an string with all URL components included.
 
318
     * return a string with all URL components included.
319
319
     *
320
320
     * \return A complete string representation of the Url object.
321
321
     */
488
488
     * Returns the encoded query string component of the URL.
489
489
     *
490
490
     * The query string is returned without first "?" (separator)
491
 
     * character. Further "?" characters as in e.g. LDAP URL's
492
 
     * remains in the returned string.
 
491
     * character. Further "?" characters as in e.g. LDAP URLs
 
492
     * remain in the returned string.
493
493
     *
494
494
     * \return The encoded query string component of the URL.
495
495
     */