public class TransformerPropertySetter extends Object
Constructor and Description |
---|
TransformerPropertySetter(TransformerProperties transformerProperties,
org.alfresco.service.cmr.repository.MimetypeService mimetypeService,
ContentTransformerRegistry transformerRegistry) |
Modifier and Type | Method and Description |
---|---|
int |
removeProperties(String propertyNames)
Removes transformer properties from the supplied multi line propertyNames.
|
int |
setProperties(String propertyNamesAndValues)
Sets transformer properties from the supplied multi line propertyNamesAndValues.
|
public TransformerPropertySetter(TransformerProperties transformerProperties, org.alfresco.service.cmr.repository.MimetypeService mimetypeService, ContentTransformerRegistry transformerRegistry)
public int setProperties(String propertyNamesAndValues)
IllegalArgumentException
- if an unexpected line is foundpublic int removeProperties(String propertyNames)
propertyNames
- which optionally include a valueIllegalArgumentException
- if an unexpected line is foundCopyright © 2005–2017 Alfresco Software. All rights reserved.