public interface FileDataProviderIfc
| Modifier and Type | Method and Description |
|---|---|
DCFieldContainer[] |
getFileBulkData()
Allows a FileDataReceiver to obtain the available data in a
known format.
|
DCFieldContainer |
getFileData()
Allows a FileDataReceiver to obtain the available data in a
known format.
|
FileDataReceiverIfc |
getFileDataReceiver()
Gets the object that is retrieving data from this FileDataProvider
|
void |
handleRejectOfFile()
To handle the remaining input files when there is reject of a file
|
boolean |
isEndOfFile()
Determines if record received is an End of file indication
|
boolean |
isFileDataAvailable()
Allows a FileDataReceiver to determine whether some file is
available for processing
|
boolean |
isStartOfFile()
Determines if the record received is start of file indication
|
java.lang.String |
openInputFile() |
boolean |
rejectFile()
Indicates data provider to stop reading from the input file and reject it
|
void |
setFileDataReceiver(FileDataReceiverIfc receiver)
Sets the object to which this FileDataProvider will send
its data.
|
boolean isFileDataAvailable()
throws java.lang.Exception
true, if data is availablejava.lang.Exceptionjava.lang.String openInputFile()
throws java.lang.Exception
java.lang.Exceptionboolean isEndOfFile()
throws java.lang.Exception
true, if data is availablejava.lang.Exceptionboolean isStartOfFile()
throws java.lang.Exception
java.lang.Exceptionboolean rejectFile()
throws java.lang.Exception
true for successful rejection of input filejava.lang.Exceptionvoid handleRejectOfFile()
DCFieldContainer getFileData() throws java.lang.Exception
java.lang.ExceptionDCFieldContainer[] getFileBulkData() throws java.lang.Exception
java.lang.Exceptionvoid setFileDataReceiver(FileDataReceiverIfc receiver) throws java.lang.Exception
receiver - Object which will obtain data from this
FileDataProviderjava.lang.ExceptionFileDataReceiverIfc getFileDataReceiver() throws java.lang.Exception
java.lang.Exception