RMS.Util.writeToFile()

Signature

void writeToFile(String filePath, Object contents)

Domain

action

Description

Writes byte contents to a file specified by the absolute path.

Any previous contents are overwritten.

Parameters

NameTypeDescription
filePathStringAbsolute path of the file to write to.
contentsObjectbyte[] form of contents.

Returns

TypeDescription
void

Cautions

Make sure the file is writable.