Class TranslationResponse
- java.lang.Object
-
- net.sf.okapi.connectors.google.v3.TranslationResponse
-
public class TranslationResponse extends Object
Represents a translation response from Google Cloud Translation API v3.
-
-
Constructor Summary
Constructors Constructor Description TranslationResponse(String translatedText, String detectedLanguageCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetectedLanguageCode()StringgetTranslatedText()StringtoString()
-