Class TransformerPropertySetter


  • @Deprecated
    public class TransformerPropertySetter
    extends Object
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    Provides methods to set and remove transformer properties and values.
    Author:
    Alan Davis
    • Constructor Detail

      • TransformerPropertySetter

        public TransformerPropertySetter​(TransformerProperties transformerProperties,
                                         org.alfresco.service.cmr.repository.MimetypeService mimetypeService,
                                         ContentTransformerRegistry transformerRegistry)
        Deprecated.
    • Method Detail

      • setProperties

        public int setProperties​(String propertyNamesAndValues)
        Deprecated.
        Sets transformer properties from the supplied multi line propertyNamesAndValues.
        Throws:
        IllegalArgumentException - if an unexpected line is found
      • removeProperties

        public int removeProperties​(String propertyNames)
        Deprecated.
        Removes transformer properties from the supplied multi line propertyNames.
        Parameters:
        propertyNames - which optionally include a value
        Throws:
        IllegalArgumentException - if an unexpected line is found