Table of Contents

OIL2 Class Standard.ReadEntireFile


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

DESCRIPTION

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

METHODS


Standard.ReadEntireFile:create

ReadEntireFile:create(string fileSpec)

Method Description

The fileSpec argument is passed unmodified to an IOobject.


Standard.ReadEntireFile:getData

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.