getAttributeString

open fun getAttributeString(attribute: String): String?

Gets the value of a string attribute. If the attribute does not contain a string, null will be returned.

Return

the contents of the @attribute value as a UTF-8 string, or null otherwise.

Parameters

attribute

a file attribute key.