Engine.loadResourceAsByte()

Signature

Object loadResourceAsByte(String uri)

Domain

ACTION, CONDITION, QUERY, BUI

Description

When a relative path to a file is provided, then the byte representation of the file contents are returned.

Parameters

NameTypeDescription
uriStringRelative path of a file if any uri is provided, else null.

Returns

TypeDescription
ObjectReturns the contents of the file the uri is pointing to in a byte array format.

Cautions

none