OIL2 Class Standard.ReadEntireFile Table of Contents

OIL2 Class Standard.ReadEntireFile

class Standard . ReadEntireFile {
        set     fileBlocks;
inherits from Object;


The class ReadEntireFile provides a convenient mechanism for reading an entire file.



ReadEntireFile:create(string fileSpec)

Method Description

The fileSpec argument is passed unmodified to an IOobject.


ReadEntireFile:getData(optional int32 dontDelete)

Method Description

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.

Generated: Wed, 27 Nov 2019 21:03:29 EST
Support Information