Class TransformerPropertySetter


  • @Deprecated
    public class TransformerPropertySetter
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int removeProperties​(java.lang.String propertyNames)
      Deprecated.
      Removes transformer properties from the supplied multi line propertyNames.
      int setProperties​(java.lang.String propertyNamesAndValues)
      Deprecated.
      Sets transformer properties from the supplied multi line propertyNamesAndValues.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransformerPropertySetter

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

      • setProperties

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

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