Class TransformerPropertySetter
- java.lang.Object
-
- org.alfresco.repo.content.transform.TransformerPropertySetter
-
@Deprecated public class TransformerPropertySetter extends java.lang.ObjectDeprecated.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 Summary
Constructors Constructor Description TransformerPropertySetter(TransformerProperties transformerProperties, org.alfresco.service.cmr.repository.MimetypeService mimetypeService, ContentTransformerRegistry transformerRegistry)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intremoveProperties(java.lang.String propertyNames)Deprecated.Removes transformer properties from the supplied multi line propertyNames.intsetProperties(java.lang.String propertyNamesAndValues)Deprecated.Sets transformer properties from the supplied multi line propertyNamesAndValues.
-
-
-
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
-
-