ContentFormats.parse

Parses the given string into gdk.content_formats.ContentFormats and returns the formats.

Strings printed via gdk.content_formats.ContentFormats.toString_ can be read in again successfully using this function.

If string does not describe valid content formats, null is returned.

Parameters

string_the string to parse

Returns

the content formats if string is valid