File reader context interface

The file reader context interface (FileReaderContextInterface) defines the set of methods that are required to establish the context information that is needed to ingest the records in a transmission. The methods for this interface are:
  • hasImages
  • insertPresentmentTotals
  • insertSegmentTotals
  • setDataFormat
  • setFileTotals
  • setNumberCalculatedRecords
  • setNumberRecords
  • setPresentmentTotals
  • setSegmentTotals

In addition to the methods, the interface defines the data format enumeration, which must be used to set the data format of the incoming transmission. The totalRecords method, which is defined in the ingest file reader interface and is invoked by the Gateway Server, uses the file reader context interface as a parameter.

Refer to the Javadoc information for additional information about this interface.