get_mime_type


Description:

public string get_mime_type (string uri) throws BookmarkFileError

Retrieves the MIME type of the resource pointed by uri.

In the event the URI cannot be found, null is returned and throws is set to g_bookmark_file_error_uri_not_found. In the event that the MIME type cannot be found, null is returned and throws is set to g_bookmark_file_error_invalid_value.

Parameters:

this

a BookmarkFile

uri

a valid URI

Returns:

a newly allocated string or null if the specified URI cannot be found.