getFileForUri

open fun getFileForUri(uri: String): File

Gets a #GFile for @uri.

This operation never fails, but the returned object might not support any I/O operation if the URI is malformed or if the URI scheme is not supported.

Return

a #GFile. Free the returned object with g_object_unref().

Parameters

uri

a string containing a URI