Class DefaultCronJobMediaDataHandler

java.lang.Object
de.hybris.platform.impex.jalo.media.DefaultMediaDataHandler
de.hybris.platform.impex.jalo.cronjob.DefaultCronJobMediaDataHandler
All Implemented Interfaces:
MediaDataHandler

public class DefaultCronJobMediaDataHandler extends DefaultMediaDataHandler
Extension of DefaultMediaDataHandler to allow an import of files directly from an set zip media and to export medias directly to an zip media.
  • Field Details

    • ZIP_FILENAME_ENCODINGS

      public static final String ZIP_FILENAME_ENCODINGS
      Property that holds zip filename encodings.
      See Also:
  • Constructor Details

    • DefaultCronJobMediaDataHandler

      public DefaultCronJobMediaDataHandler()
      Empty constructor for generic instantiation.
    • DefaultCronJobMediaDataHandler

      public DefaultCronJobMediaDataHandler(ImpExImportCronJob cronJob)
      Constructs an instance of this class with the given CronJob. The CronJob contains a resource media optional which is used during the importData(Media, String) to import files from it. If the zip media is null, the import methods of DefaultMediaDataHandler are used.
      Parameters:
      cronJob - cronjob holding a resource media optional
    • DefaultCronJobMediaDataHandler

      public DefaultCronJobMediaDataHandler(ImpExExportCronJob cronJob)
      Constructs an instance of this class with the given CronJob. The CronJob contains a ZipOutputStream which is used during the exportData(Media) to put the Media's rawdata in it. If the ZipOutputStream is null, no raw-data will be exported
      Parameters:
      cronJob - cronjob holding the export zip media
  • Method Details