Class LocalPassThroughTransform

java.lang.Object
org.alfresco.repo.content.transform.AbstractLocalTransform
org.alfresco.repo.content.transform.LocalPassThroughTransform
All Implemented Interfaces:
LocalTransform

public class LocalPassThroughTransform extends AbstractLocalTransform
Based on the logic of the legacy BinaryPassThrough and String Transformers. Streams the source content to target when the respective mimetypes are identical, or transforms to "text/plain" from any mimetype starting "text/", or "application/x-javascript", or "application/dita+xml". There must be no transform options, but in case of the text transform the source and target encodings may be change. Supported transforms are added by CombinedConfig.addPassThroughTransformer(org.alfresco.service.cmr.repository.MimetypeService, AbstractTransformRegistry).
Author:
adavis