Table of Contents

OIL2 Class Standard.ReadAndProcessFile


class Standard . ReadAndProcessFile {
        assoc   acl;
        oid     bfrObj;
        oid     clientObj;
        int32   maxLinesToSend;
inherits from Object;

DESCRIPTION

The class ReadAndProcessFile implements a convenient means for processing a file a line-at-a-time. The client is sent a processLine messages and passed subsequent lines that are parsed from the source file. At end-of-file, a processLine message is sent with nil as the argument.

METHODS


Standard.ReadAndProcessFile:create

ReadAndProcessFile:create(oid client, any fileNameOrObj, assoc defaultACL, optional int32 maxLinesPerRequest, optional string delimeter)

Method Description

The create method takes up to 5 arguments: