Class AbstractTransformServiceRegistry

    • Constructor Detail

      • AbstractTransformServiceRegistry

        public AbstractTransformServiceRegistry()
    • Method Detail

      • isSupported

        public boolean isSupported​(String sourceMimetype,
                                   long size,
                                   String targetMimetype,
                                   Map<String,​String> options,
                                   String renditionName)
        Description copied from interface: TransformServiceRegistry
        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.
        Specified by:
        isSupported in interface TransformServiceRegistry
        Parameters:
        sourceMimetype - the mimetype of the source content
        size - the size in bytes of the source content. Ignored if negative.
        targetMimetype - the mimetype of the target
        options - 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.