from_uri


Description:

public string from_uri (string uri, out string hostname = null) throws ConvertError

Converts an escaped ASCII-encoded URI to a local filename in the encoding used for filenames.

Parameters:

uri

a uri describing a filename (escaped, encoded in ASCII).

hostname

Location to store hostname for the URI, or null. If there is no hostname in the URI, null will be stored in this location.

Returns:

a newly-allocated string holding the resulting filename, or null on an error.


Namespace: GLib.Filename
Package: glib-2.0