Resource class

Abstract class for access the content of a resource.

Properties

fullName

The full path to the resource on disk

id

Resource id.

Methods

readText()

Get resource as text.

Property Details

fullName

The full path to the resource on disk

string fullName

Property Value

string

The full path to the resource.

id

Resource id.

string id

Property Value

string

The resource id.

Method Details

readText()

Get resource as text.

function readText(): string

Returns

string