public class DefaultOnDemandConversionFacade extends Object implements OnDemandConversionFacade
OnDemandConversionFacade.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_WEBAPP_PATH
Default webapp path.
|
BEAN_NAME| Constructor and Description |
|---|
DefaultOnDemandConversionFacade() |
public static final String DEFAULT_WEBAPP_PATH
public String convert(PK container, String format)
convert in interface OnDemandConversionFacadecontainer - the MediaContainerModel's PK in questionformat - the qualifier of the ConversionMediaFormatModel to convert to.public 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 String convert(MediaContainerModel container, 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 String retrieveURL(MediaContainerModel container, 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(StringBuilder urlBuilder, ConversionMediaFormatModel format)
urlBuilder - The string builder containing the url part which has been created beforeformat - The ConversionMediaFormatModelpublic 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 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 String getConversionServletPath()
public void setConversionServletPath(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 © 2017 SAP SE. All Rights Reserved.