Package com.github.vbauer.yta.service
Interface YTranslateApi
-
- All Known Implementing Classes:
YTranslateApiImpl
public interface YTranslateApiFacade service which allows to use Yandex.Translate features.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectionApidetectionApi()DetectionApidetects the language of the specified text.LanguageApilanguageApi()LanguageApiallows to get information about available languages.TranslationApitranslationApi()TranslationApiallows to translate text from one language to another.
-
-
-
Method Detail
-
languageApi
@Nonnull LanguageApi languageApi()
LanguageApiallows to get information about available languages.- Returns:
- language API service
-
detectionApi
@Nonnull DetectionApi detectionApi()
DetectionApidetects the language of the specified text.- Returns:
- detection API service
-
translationApi
@Nonnull TranslationApi translationApi()
TranslationApiallows to translate text from one language to another.- Returns:
- translation API service
-
-