public interface Translator
Modifier and Type | Interface and Description |
---|---|
static class |
Translator.SourceLanguage
The enumeration that describes possible source languages.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dynamicTranslate(java.lang.String expression)
Has to translate the specified input.
|
java.lang.String |
dynamicTranslate(java.lang.String expression,
Translator.SourceLanguage sourceLanguage)
Has to translate the specified input, where the second parameter
describes the source language in which the input is given.
|
java.lang.String dynamicTranslate(java.lang.String expression)
expression
- the expression to translatejava.lang.String dynamicTranslate(java.lang.String expression, Translator.SourceLanguage sourceLanguage)
expression
- the expression to translatesourceLanguage
- the source language