com.digertech.sdk.samples
Class SampleICLFileReader2
java.lang.Object
com.digertech.sdk.samples.SampleICLFileReader2
- All Implemented Interfaces:
- ReaderInterface
public class SampleICLFileReader2
- extends java.lang.Object
- implements ReaderInterface
This sample implements ProcessingInterface loads the records
from Image Cash Letter file, validate the image data in type
52 record and print field value of each record and image
validation results when it processes records.
To run this sample, two jar files in the lib folder should
be included in the classpath:
FileProcessingSDK.jar
ImageValidationSDK.jar
Execute the commmand to run the sample :
java com.digertech.sdk.samples.SampleX937FileProcessor2 [ICL file] [license key 1] [license key 2]
[ICL file] - ICL file full path name.
[license key 1] - File processing SDK license key.
[license key 2] - TIFF image validation SDK license key.
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 processLicenseKey,
java.lang.String validateLicenseKey)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleICLFileReader2
public SampleICLFileReader2()
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 processLicenseKey,
java.lang.String validateLicenseKey)
main
public static void main(java.lang.String[] args)