class Standard . ReadEntireFile {
set fileBlocks;
} inherits from Object;
The class ReadEntireFile provides a convenient mechanism for reading an entire file.
ReadEntireFile:create(string fileSpec)
The fileSpec argument is passed unmodified to an IOobject.
ReadEntireFile:getData(optional int32 dontDelete)
Returns a string holding the contents of the file. Unless the optional Boolean flag dontDelete is specified as 1, the object will automatically be deleted after the result is returned.