Class ConvertLanguageProjectApi

java.lang.Object
com.e1c.langtool.v8.dt.cli.api.impl.ConvertLanguageProjectApi
All Implemented Interfaces:
IConvertLanguageProjectApi

public class ConvertLanguageProjectApi extends Object implements 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    convertLanguageProject(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 provided IConverterService.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 provided IConverterService.
      Specified by:
      convertLanguageProject in interface IConvertLanguageProjectApi
      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