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 Details

    • isFileDataAvailable

      boolean isFileDataAvailable() throws Exception
      Allows a FileDataReceiver to determine whether some file is available for processing
      Returns:
      true, if data is available
      Throws:
      Exception
    • openInputFile

      String openInputFile() throws Exception
      Returns:
      Throws:
      Exception
    • isEndOfFile

      boolean isEndOfFile() throws Exception
      Determines if record received is an End of file indication
      Returns:
      true, if data is available
      Throws:
      Exception
    • isStartOfFile

      boolean isStartOfFile() throws Exception
      Determines if the record received is start of file indication
      Returns:
      Throws:
      Exception
    • rejectFile

      boolean rejectFile() throws Exception
      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

      DCFieldContainer getFileData() throws Exception
      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

      DCFieldContainer[] getFileBulkData() throws Exception
      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

      void setFileDataReceiver(FileDataReceiverIfc receiver) throws Exception
      Sets the object to which this FileDataProvider will send its data.
      Parameters:
      receiver - Object which will obtain data from this FileDataProvider
      Throws:
      Exception
    • getFileDataReceiver

      FileDataReceiverIfc getFileDataReceiver() throws Exception
      Gets the object that is retrieving data from this FileDataProvider
      Returns:
      Object to which this FileDataProvider is sending data
      Throws:
      Exception