Script's resource

Purpose

Access to a script’s resources.

A script may have one or more resources of varying types: HTML, XML, XSLT, TypeScript, etc.

Methods

Binding name: p6.resource


Method: String get(String resourceName)

Get the named resource as a String.

Examples

println p6.resource.get("MyTypeScript")