resourceToString

Converts resource to string

Parameters

path

The absolute resource path

Throws

If the path is invalid