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.CombinedTransformConfig
This 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) or
CombinedTransformConfig.addTransformConfig(TransformConfig, String, String) followed by a call to
register(TransformServiceRegistryImpl).
- Author:
- adavis
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.transform.client.registry.CombinedTransformConfig
org.alfresco.transform.client.registry.CombinedTransformConfig.TransformAndItsOrigin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddLocalConfig(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 booleanvoidregister(TransformServiceRegistryImpl registry) Methods inherited from class org.alfresco.transform.client.registry.CombinedTransformConfig
addAll, addTransformConfig, buildTransformConfig, clear, combineTransformerConfig, registerCombinedTransformers, transformerName
-
Constructor Details
-
CombinedConfig
public CombinedConfig(org.apache.commons.logging.Log log)
-
-
Method Details
-
addLocalConfig
-
addRemoteConfig
-
isPassThroughTransformName
- Overrides:
isPassThroughTransformNamein classorg.alfresco.transform.client.registry.CombinedTransformConfig
-
addPassThroughTransformer
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
-