Class ImpExImportJob.MyImpExImportReader

    • Constructor Detail

      • MyImpExImportReader

        public MyImpExImportReader​(CSVReader reader,
                                   boolean legacyMode,
                                   java.lang.String prefixForMediaLookup)
      • MyImpExImportReader

        public MyImpExImportReader​(CSVReader reader,
                                   CSVWriter dumpWriter,
                                   ImportProcessor processor,
                                   boolean legacyMode,
                                   java.lang.String prefixForMediaLookup)
    • Method Detail

      • findExternalDataMedia

        public ImpExMedia findExternalDataMedia​(java.lang.String code)
                                         throws JaloBusinessException
        Description copied from class: ImpExReader
        Searches the media with the given code in the context of the reader and returns it.
        Overrides:
        findExternalDataMedia in class ImpExReader
        Parameters:
        code - code of the media
        Returns:
        media with given code or null if no data is found
        Throws:
        JaloBusinessException - a media with the code was found but has had no data attached