public interface TranslationServiceFactory
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_TRANSLATION_FACTORY
Unique name of the service property indicating the particular implementation this factory provides, e.g.
|
Modifier and Type | Method and Description |
---|---|
TranslationService |
createTranslationService(TranslationConstants.TranslationMethod translationMethod,
String cloudConfigPath)
Creates a new TranslationService object specific to this Factory.
|
Class<?> |
getServiceCloudConfigClass()
Gets the service Cloud Config Class.
|
String |
getServiceFactoryName()
Gets the service factory name.
|
List<TranslationConstants.TranslationMethod> |
getSupportedTranslationMethods()
Get the supported translation methods.
|
static final String PROPERTY_TRANSLATION_FACTORY
TranslationService createTranslationService(TranslationConstants.TranslationMethod translationMethod, String cloudConfigPath) throws TranslationException
translationMethod
- Specify which type of Translation service to create based on Translation MethodcloudConfigPath
- The path to cloud config file.TranslationException
- the translation exceptionList<TranslationConstants.TranslationMethod> getSupportedTranslationMethods()
String getServiceFactoryName()
Class<?> getServiceCloudConfigClass()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"