public class DefaultOnDemandConversionFacade extends java.lang.Object implements OnDemandConversionFacade
OnDemandConversionFacade.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_WEBAPP_PATH
Default webapp path.
|
BEAN_NAME| Constructor and Description |
|---|
DefaultOnDemandConversionFacade() |
public static final java.lang.String DEFAULT_WEBAPP_PATH
public java.lang.String convert(PK container, java.lang.String format)
convert in interface OnDemandConversionFacadecontainer - the MediaContainerModel's PK in questionformat - the qualifier of the ConversionMediaFormatModel to convert to.public java.lang.String convert(MediaContainerModel container, ConversionMediaFormatModel format)
convert in interface OnDemandConversionFacadecontainer - the MediaContainerModel in questionformat - the ConversionMediaFormatModel to convert to or null (or the empty string) to
retrieve the container's master media url.public java.lang.String convert(MediaContainerModel container, java.lang.String format)
convert in interface OnDemandConversionFacadecontainer - the MediaContainerModel in questionformat - the qualifier of the ConversionMediaFormatModel to convert to or null (or the empty
string) to retrieve the container's master media url.public java.lang.String retrieveURL(MediaContainerModel container, java.lang.String format)
retrieveURL in interface OnDemandConversionFacadecontainer - the MediaContainerModel in questionformat - the qualifier of the ConversionMediaFormatModel to convert to or null (or the empty
string) to retrieve the container's master media url.protected void appendFileExtension(java.lang.StringBuilder urlBuilder,
ConversionMediaFormatModel format)
urlBuilder - The string builder containing the url part which has been created beforeformat - The ConversionMediaFormatModelpublic java.lang.String retrieveURL(MediaContainerModel container, ConversionMediaFormatModel format)
retrieveURL in interface OnDemandConversionFacadecontainer - the MediaContainerModel in questionformat - the qualifier of the ConversionMediaFormatModel to convert to or null (or the empty
string) to retrieve the container's master media url.protected java.lang.String buildConvertUrl(MediaContainerModel container, ConversionMediaFormatModel format)
public MediaService getMediaService()
public void setMediaService(MediaService mediaService)
public ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
public ModelService getModelService()
public void setModelService(ModelService modelService)
public java.lang.String getConversionServletPath()
public void setConversionServletPath(java.lang.String path)
public MediaConversionService getMediaConversionService()
public void setMediaConversionService(MediaConversionService mediaConversionService)
public MimeMappingStrategy getMimeMappingStrategy()
MimeMappingStrategy.public void setMimeMappingStrategy(MimeMappingStrategy mimeMappingStrategy)
MimeMappingStrategy to use.mimeMappingStrategy - The strategy to useCopyright © 2018 SAP SE. All Rights Reserved.