Table of Contents

OIL2 Class Standard.ReadAndProcessFile

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


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.



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

Method Description

The create method takes up to 5 arguments:

Generated: Wed, 14 Mar 2012 02:52:21 EDT
Support Information