Interface IMultiTranslationQuery

All Known Implementing Classes:
MultiTranslationQuery

public interface IMultiTranslationQuery
Encapsulates a translation query for multiple texts.

In contrast to ISingleTranslationQuery it can contain the list of texts to translate and not only one text.

  • Method Details

    • getTexts

      List<String> getTexts()
      Returns the texts to translate.
      Returns:
      the list of texts to translate
    • getSourceLanguage

      String getSourceLanguage()
      Returns the code of source language of text.
      Returns:
      the code of source language. Can't be null.
    • getTargetLanguage

      String getTargetLanguage()
      Returns the code of target language to translate.
      Returns:
      the code of target language to translate. Can't be null.
    • isProcessingNeeded

      boolean isProcessingNeeded()
      Returns true if the text (or texts) needs of processing.
      Returns:
      true if the text (or texts) needs of processing