public abstract class AbstractTransformServiceRegistry extends Object implements TransformServiceRegistry
| Constructor and Description |
|---|
AbstractTransformServiceRegistry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupported(String sourceMimetype,
long size,
String targetMimetype,
Map<String,String> options,
String renditionName)
Works out if the Transform Server should be able to transform content of a given source mimetype and size into a
target mimetype given a list of actual transform option names and values (Strings) plus the data contained in the
objects registered with this class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxSizepublic boolean isSupported(String sourceMimetype, long size, String targetMimetype, Map<String,String> options, String renditionName)
TransformServiceRegistryisSupported in interface TransformServiceRegistrysourceMimetype - the mimetype of the source contentsize - the size in bytes of the source content. Ignored if negative.targetMimetype - the mimetype of the targetoptions - the actual name value pairs available that could be passed to the Transform Service.renditionName - (optional) name for the set of options and target mimetype. If supplied is used to cache
results to avoid having to work out if a given transformation is supported a second time.
The sourceMimetype and sourceSizeInBytes may still change. In the case of ACS this is the
rendition name.Copyright © 2005–2018 Alfresco Software. All rights reserved.