public interface MediaConversionStrategy
ConversionMediaFormatModel. The actual
MediaConversionStrategy to use is configured as a spring bean name in the ConversionMediaFormatModel
's conversionStrategy attribute.| Modifier and Type | Method and Description |
|---|---|
MediaModel |
convert(MediaConversionService mediaConversionService,
MediaModel parent,
ConversionMediaFormatModel format)
Converts the given
parent media to the given format. |
MediaModel convert(MediaConversionService mediaConversionService, MediaModel parent, ConversionMediaFormatModel format) throws MediaConversionException
parent media to the given format.mediaConversionService - to avoid cyclic IoC errors, the MediaConversionService is passed.parent - the media to convertformat - the format to convert toMediaConversionException - if the conversion could not be processed due to a technical reasonjava.lang.IllegalArgumentException - if any of the parameters is nullCopyright © 2018 SAP SE. All Rights Reserved.