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.Exception
java.lang.String openInputFile() throws java.lang.Exception
java.lang.Exception
boolean isEndOfFile() throws java.lang.Exception
true
, if data is availablejava.lang.Exception
boolean isStartOfFile() throws java.lang.Exception
java.lang.Exception
boolean rejectFile() throws java.lang.Exception
true for successful rejection of input file
java.lang.Exception
void handleRejectOfFile()
DCFieldContainer getFileData() throws java.lang.Exception
java.lang.Exception
DCFieldContainer[] getFileBulkData() throws java.lang.Exception
java.lang.Exception
void setFileDataReceiver(FileDataReceiverIfc receiver) throws java.lang.Exception
receiver
- Object which will obtain data from this
FileDataProviderjava.lang.Exception
FileDataReceiverIfc getFileDataReceiver() throws java.lang.Exception
java.lang.Exception