asString

Returns the resource's bytes decoded as a String using the resource's inputEncoding.