Skip to content

Bound Closures

The following ‘closure’ methods are automatically bound into the Groovy runtime and can therefore be used directly without any prefix.

Methods

Method: String p6.escapeXml(String xmlStr)

Escape the given XML string.


Method: String p6.unescapeXml(String escStr)

Unescape the given escaped XML string.


Method: File p6.fileFromUri(String uriStr)

Create a file from an URI string (expands $P6_DATA,URL encoding etc.)