Class ConvertLanguageProjectApi
java.lang.Object
com.e1c.langtool.v8.dt.cli.api.impl.ConvertLanguageProjectApi
- All Implemented Interfaces:
IConvertLanguageProjectApi
The
ConvertLanguageProjectApi class provides an API for converting language projects.
The conversion process involves using the IConverterService to manage and run
the conversion operation through a IConverterManager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertLanguageProject(org.eclipse.core.resources.IProject project, org.eclipse.core.resources.IProject sourceLanguageProject, org.eclipse.core.resources.IProject targetLanguageProject) Converts a language project by executing the conversion operation using the providedIConverterService.
-
Constructor Details
-
ConvertLanguageProjectApi
public ConvertLanguageProjectApi()
-
-
Method Details
-
convertLanguageProject
public void convertLanguageProject(org.eclipse.core.resources.IProject project, org.eclipse.core.resources.IProject sourceLanguageProject, org.eclipse.core.resources.IProject targetLanguageProject) throws TranslationCliApiException Converts a language project by executing the conversion operation using the providedIConverterService.- Specified by:
convertLanguageProjectin interfaceIConvertLanguageProjectApi- Parameters:
project- the target project where the converted content will be placed.sourceLanguageProject- the source language project to be converted.targetLanguageProject- the target language project where the conversion result will be stored.- Throws:
TranslationCliApiException
-