Class SwitchingTransformClient

  • All Implemented Interfaces:
    TransformClient

    public class SwitchingTransformClient
    extends Object
    implements TransformClient
    A transform client that falls back between different implementations if not supported.
    Author:
    adavis
    • Method Detail

      • checkSupported

        public void checkSupported​(NodeRef sourceNodeRef,
                                   RenditionDefinition2 renditionDefinition,
                                   String sourceMimetype,
                                   long sourceSizeInBytes,
                                   String contentUrl)
        Description copied from interface: TransformClient
        Checks the transformation required for the rendition is supported.
        Specified by:
        checkSupported in interface TransformClient
        Parameters:
        sourceNodeRef - the source node
        renditionDefinition - which rendition to perform
        sourceMimetype - the mometype of the source
        sourceSizeInBytes - the size in bytes of the source
        contentUrl - the url of the source (used in debug).