Interface FragmentReader

  • All Known Implementing Classes:
    DefaultFragmentReader

    public interface FragmentReader
    A class that reads ImpEx script received from the Integration Layer and splits it into logical fragments based on the script content.
    • Method Detail

      • readScriptFragments

        java.util.List<ImpExFragment> readScriptFragments​(ItemImportTaskData ctx)
                                                   throws ImpExException
        Reads an ImpEx script and splits it into fragments.
        Parameters:
        ctx - .
        Returns:
        a list of fragments identified in the script.
        Throws:
        ImpExException - if the script is invalid or this reader failed to read from the input stream.