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 escapeXml(String xmlStr)

Escape the given XML string.


Method: String unescapeXml(String escStr)

Unescape the given escaped XML string.


Method: File fileFromUri(String uriStr)

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