Interface TransformerSelector

  • All Known Implementing Classes:
    TransformerSelectorImpl, TransformerSelectorImplOriginal

    @Deprecated
    @AlfrescoPublicApi
    public interface TransformerSelector
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    Selects a transformer from a supplied list of transformers that appear able to handle a given transformation.
    Author:
    Alan Davis
    • Method Detail

      • selectTransformers

        java.util.List<ContentTransformer> selectTransformers​(java.lang.String sourceMimetype,
                                                              long sourceSize,
                                                              java.lang.String targetMimetype,
                                                              TransformationOptions options)
        Deprecated.
        Returns a sorted list of transformers that identifies the order in which transformers should be tried.
        Parameters:
        sourceMimetype -
        sourceSize -
        targetMimetype -
        options - transformation options
        Returns:
        a sorted list of transformers, with the best one first.