parse


Description:

[ Version ( since = "2.66" ) ]
public static Uri parse (string uri_string, UriFlags flags) throws UriError

Parses uri_string according to flags.

If the result is not a valid [absolute URI](relative-and-absolute-uris), it will be discarded, and an error returned.

Parameters:

uri_string

a string representing an absolute URI

flags

flags describing how to parse uri_string

Returns:

a new Uri, or NULL on error.