Class CombinedConfig
- java.lang.Object
-
- org.alfresco.transform.client.registry.CombinedTransformConfig
-
- org.alfresco.transform.client.registry.CombinedConfig
-
public class CombinedConfig extends org.alfresco.transform.client.registry.CombinedTransformConfigThis class reads multiple T-Engine config and local files and registers as if they were all in one file. Transform options are shared between all sources.The caller should make calls to
addRemoteConfig(List, String),addLocalConfig(String)orCombinedTransformConfig.addTransformConfig(TransformConfig, String, String)followed by a call toregister(TransformServiceRegistryImpl).- Author:
- adavis
-
-
Constructor Summary
Constructors Constructor Description CombinedConfig(org.apache.commons.logging.Log log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLocalConfig(String path)voidaddPassThroughTransformer(MimetypeService mimetypeService)Adds a PassThrough transform where the source and target mimetypes are identical, or transforms to "text/plain" from selected text based types.booleanaddRemoteConfig(List<String> urls, String remoteType)protected booleanisPassThroughTransformName(String name)voidregister(TransformServiceRegistryImpl registry)
-
-
-
Method Detail
-
addLocalConfig
public boolean addLocalConfig(String path)
-
isPassThroughTransformName
protected boolean isPassThroughTransformName(String name)
- Overrides:
isPassThroughTransformNamein classorg.alfresco.transform.client.registry.CombinedTransformConfig
-
addPassThroughTransformer
public void addPassThroughTransformer(MimetypeService mimetypeService)
Adds a PassThrough transform where the source and target mimetypes are identical, or transforms to "text/plain" from selected text based types.- Parameters:
mimetypeService- to find all the mimetypes
-
register
public void register(TransformServiceRegistryImpl registry)
-
-