parse_desktop_data


Description:

public bool parse_desktop_data (string data, string cid) throws Error

Parses XDG Desktop Entry metadata and adds it to the list of parsed entities.

Please note that not every desktop-entry file will result in a valid component being generated, even if parsing succeeds without error ( The desktiop-entry file may be valid but not generate a component on purpose).

Parameters:

this

An instance of Metadata.

data

Metadata describing one or more software components.

cid

The component-id the new Component should have.

Returns:

true if the file was parsed without error.




2022 vala-language.org