Package com.e1c.langtool.query
Class TranslationQuery
java.lang.Object
com.e1c.langtool.query.TranslationQuery
- Direct Known Subclasses:
MultiTranslationQuery,SingleTranslationQuery
This class encapsulates the base attributes for translation queries.
- It contains information about:
- source language
- target language
- text processing is needed before and after translation or not
-
Constructor Summary
ConstructorsConstructorDescriptionTranslationQuery(String sourceLocale, String targetLocale, boolean isProcessingNeeded) Creates a new translation query. -
Method Summary
-
Constructor Details
-
TranslationQuery
Creates a new translation query.- Parameters:
sourceLocale- the source language of texttargetLocale- the target language to translateisProcessing- information text processing is needed or not
-
-
Method Details