public interface TransformServiceRegistry
| Modifier and Type | Method and Description |
|---|---|
Long |
getMaxSize(String sourceMimetype,
String targetMimetype,
String renditionName,
Map<String,String> options)
Returns the maximum size the source may be in bytes to still be supported.
|
boolean |
isSupported(String sourceMimetype,
long size,
String targetMimetype,
String renditionName,
Map<String,String> options)
Validate if a transformation request can pe processed by Transformation Service.
|
boolean isSupported(String sourceMimetype, long size, String targetMimetype, String renditionName, Map<String,String> options)
sourceMimetype - Source mimetype of the content.size - in bytes of the source content. May be -1 if the size should be ignored.targetMimetype - Target mimetype of the content.renditionName - the name of the rendition.options - Transformation request parameters.true if the transformation can be processed by Transformation Service.
false otherwise.Long getMaxSize(String sourceMimetype, String targetMimetype, String renditionName, Map<String,String> options)
sourceMimetype - Source mimetype of the content.targetMimetype - Target mimetype of the content.renditionName - the name of the rendition.options - Transformation request parameters.-1 if not limited or null if not supported.Copyright © 2005–2018 Alfresco Software. All rights reserved.