com.digertech.sdk.samples
Class SampleICLFileReader

java.lang.Object
  extended by com.digertech.sdk.samples.SampleICLFileReader
All Implemented Interfaces:
ReaderInterface

public class SampleICLFileReader
extends java.lang.Object
implements ReaderInterface

This sample implements ReaderInterface and loads the records from ICL file and print field value of each record when it reads records. To run this sample, a jar file in the lib folder should be included in the classpath: FileProcessingSDK.jar Execute the commmand to run the sample : java com.digertech.sdk.samples.SampleX937FileReader [ICL file] [license key] [ICL file] - ICL file full path name. [license key] - File processing SDK license key.


Constructor Summary
SampleICLFileReader()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void readRecord(int recordType, X9Record record)
          Process X9.37 records.
static void setLicenseKey()
           
static void setLicenseKey(java.lang.String licenseKey)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleICLFileReader

public SampleICLFileReader()
Method Detail

readRecord

public void readRecord(int recordType,
                       X9Record record)
                throws FileIOException
Description copied from interface: ReaderInterface
Process X9.37 records.

Specified by:
readRecord in interface ReaderInterface
Parameters:
recordType - X9.37 record type.
record - X9.37 record data.
Throws:
FileIOException

setLicenseKey

public static void setLicenseKey()

setLicenseKey

public static void setLicenseKey(java.lang.String licenseKey)

main

public static void main(java.lang.String[] args)