FileInfo.setAttributeString

void setAttributeString(string attribute, string attrValue)

Sets the attribute to contain the given attr_value, if possible.

Parameters

attributea file attribute key.
attrValuea UTF-8 string.