Package com.nt.udc.ndk.node
Interface FileDataProviderIfc
- All Known Subinterfaces:
DCStreamHandler
- All Known Implementing Classes:
AggregatorFieldProcessor
,DCFieldProcessor
,DeclNPLFieldProcessor
,DiscProcFieldProcessor
,DupRemoverFieldProcessor
,EITransport
,FileEITransport
,FileEITransport
,FlatFileEIProcessor
,FlexibleAggregatorFieldProcessor
,FtpEITransport
,GenericFlatFileProcessor
,GenericUdpEITransport
,HCDeDupFieldProcessor
,IPDRFileTransport
,IPDRTransport
,JDBCEITransport
,JDBCOIFieldProcessor
,KnownFieldLengthFileProcessor
,MXNARFileManager
,MXNarOutReceiverWrapper
,MXNPLFieldProcessor
,NAREIFileProcessor
,NARFileManager
,NARFileManagerMT
,NARSelectorFieldProcessor
,NARStreamHandler
,NPLFieldProcessor
,OpenFileEITransport
,SeqProcFieldProcessor
,SoapXmlEITransport
,Sol42EITransport
,Sol42FieldProcessor
,TcpEITransport
,UdpEITransport
,XMLFileTransport
,XMLTransport
public interface FileDataProviderIfc
-
Method Summary
Modifier and TypeMethodDescriptionAllows a FileDataReceiver to obtain the available data in a known format.Allows a FileDataReceiver to obtain the available data in a known format.Gets the object that is retrieving data from this FileDataProvidervoid
To handle the remaining input files when there is reject of a fileboolean
Determines if record received is an End of file indicationboolean
Allows a FileDataReceiver to determine whether some file is available for processingboolean
Determines if the record received is start of file indicationboolean
Indicates data provider to stop reading from the input file and reject itvoid
setFileDataReceiver
(FileDataReceiverIfc receiver) Sets the object to which this FileDataProvider will send its data.
-
Method Details
-
isFileDataAvailable
Allows a FileDataReceiver to determine whether some file is available for processing- Returns:
true
, if data is available- Throws:
Exception
-
openInputFile
- Returns:
- Throws:
Exception
-
isEndOfFile
Determines if record received is an End of file indication- Returns:
true
, if data is available- Throws:
Exception
-
isStartOfFile
Determines if the record received is start of file indication- Returns:
- Throws:
Exception
-
rejectFile
Indicates data provider to stop reading from the input file and reject it- Returns:
true
for successful rejection of input file
- Throws:
Exception
-
handleRejectOfFile
void handleRejectOfFile()To handle the remaining input files when there is reject of a file -
getFileData
Allows a FileDataReceiver to obtain the available data in a known format.- Returns:
- DCFieldContainer object containing the data that is available for processing
- Throws:
Exception
-
getFileBulkData
Allows a FileDataReceiver to obtain the available data in a known format.- Returns:
- DCFieldContainer object array, containing the data that is for processing
- Throws:
Exception
-
setFileDataReceiver
Sets the object to which this FileDataProvider will send its data.- Parameters:
receiver
- Object which will obtain data from this FileDataProvider- Throws:
Exception
-
getFileDataReceiver
Gets the object that is retrieving data from this FileDataProvider- Returns:
- Object to which this FileDataProvider is sending data
- Throws:
Exception
-