Class TransformerSelectorImplOriginal

  • All Implemented Interfaces:
    TransformerSelector

    @Deprecated
    public class TransformerSelectorImplOriginal
    extends java.lang.Object
    implements TransformerSelector
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    Implementation of a transformer selector that matches the code that was in place before a selector was introduced. Class is not used but exists to allow customers to maintain the previous approach if they really wish.
    Author:
    Alan Davis
    • Constructor Detail

      • TransformerSelectorImplOriginal

        public TransformerSelectorImplOriginal()
        Deprecated.
    • Method Detail

      • setContentTransformerRegistry

        public void setContentTransformerRegistry​(ContentTransformerRegistry contentTransformerRegistry)
        Deprecated.
      • selectTransformers

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