A B C D E F G H I J K L M N O P R S T U V X Y Z 
All Classes All Packages

A

AbstractApi - Class in com.github.vbauer.yta.service.basic
Basic class for API services.
AbstractApi(ApiContext) - Constructor for class com.github.vbauer.yta.service.basic.AbstractApi
 
AF - Static variable in class com.github.vbauer.yta.model.Language
 
all() - Method in class com.github.vbauer.yta.service.fraction.impl.LanguageApiImpl
Gets a list of translation directions and available languages supported by the service.
all() - Method in interface com.github.vbauer.yta.service.fraction.LanguageApi
Gets a list of translation directions and available languages supported by the service.
all(Language) - Method in class com.github.vbauer.yta.service.fraction.impl.LanguageApiImpl
Gets a list of translation directions and available languages supported by the service.
all(Language) - Method in interface com.github.vbauer.yta.service.fraction.LanguageApi
Gets a list of translation directions and available languages supported by the service.
all(String) - Method in class com.github.vbauer.yta.service.fraction.impl.LanguageApiImpl
Gets a list of translation directions and available languages supported by the service.
all(String) - Method in interface com.github.vbauer.yta.service.fraction.LanguageApi
Gets a list of translation directions and available languages supported by the service.
ALL - Static variable in class com.github.vbauer.yta.model.Language
 
AM - Static variable in class com.github.vbauer.yta.model.Language
 
ApiContext - Class in com.github.vbauer.yta.service.basic
API context is a model with core functionality to work with Yandex.Translate API.
ApiContext() - Constructor for class com.github.vbauer.yta.service.basic.ApiContext
 
ApiStatus - Class in com.github.vbauer.yta.service.basic
 
AR - Static variable in class com.github.vbauer.yta.model.Language
 
ATTR_FORMAT - Static variable in class com.github.vbauer.yta.service.fraction.impl.DetectionApiImpl
 
ATTR_FORMAT - Static variable in class com.github.vbauer.yta.service.fraction.impl.TranslationApiImpl
 
ATTR_KEY - Static variable in class com.github.vbauer.yta.service.transport.impl.RestClientImpl
 
ATTR_LANG - Static variable in class com.github.vbauer.yta.service.fraction.impl.TranslationApiImpl
 
ATTR_TEXT - Static variable in class com.github.vbauer.yta.service.fraction.impl.DetectionApiImpl
 
ATTR_TEXT - Static variable in class com.github.vbauer.yta.service.fraction.impl.TranslationApiImpl
 
ATTR_UI - Static variable in class com.github.vbauer.yta.service.fraction.impl.LanguageApiImpl
 
AZ - Static variable in class com.github.vbauer.yta.model.Language
 

B

BA - Static variable in class com.github.vbauer.yta.model.Language
 
BasicConverter<I,​O> - Interface in com.github.vbauer.yta.converter
Basic converter to transform type I to O.
BE - Static variable in class com.github.vbauer.yta.model.Language
 
BG - Static variable in class com.github.vbauer.yta.model.Language
 
BN - Static variable in class com.github.vbauer.yta.model.Language
 
BS - Static variable in class com.github.vbauer.yta.model.Language
 

C

CA - Static variable in class com.github.vbauer.yta.model.Language
 
callMethod(Class<T>, String, Map<String, Object>) - Method in class com.github.vbauer.yta.service.basic.AbstractApi
 
callMethod(String, Map<String, Object>) - Method in class com.github.vbauer.yta.service.transport.impl.RestClientImpl
Make REST API call.
callMethod(String, Map<String, Object>) - Method in interface com.github.vbauer.yta.service.transport.RestClient
Make REST API call.
CEB - Static variable in class com.github.vbauer.yta.model.Language
 
check(int) - Static method in class com.github.vbauer.yta.service.basic.ApiStatus
Check that status is ApiStatus.OK and throw YTranslateApiException otherwise.
client() - Method in class com.github.vbauer.yta.service.basic.AbstractApi
Get REST client from API context.
client() - Method in class com.github.vbauer.yta.service.basic.ApiContext
Get REST client.
code() - Method in interface com.github.vbauer.yta.model.basic.HasCode
Get code value.
code() - Method in enum com.github.vbauer.yta.model.basic.TextFormat
Get code value.
code() - Method in class com.github.vbauer.yta.model.Language
Get code value.
com.github.vbauer.yta.converter - package com.github.vbauer.yta.converter
 
com.github.vbauer.yta.model - package com.github.vbauer.yta.model
 
com.github.vbauer.yta.model.artificial - package com.github.vbauer.yta.model.artificial
 
com.github.vbauer.yta.model.basic - package com.github.vbauer.yta.model.basic
 
com.github.vbauer.yta.service - package com.github.vbauer.yta.service
 
com.github.vbauer.yta.service.basic - package com.github.vbauer.yta.service.basic
 
com.github.vbauer.yta.service.basic.exception - package com.github.vbauer.yta.service.basic.exception
 
com.github.vbauer.yta.service.fraction - package com.github.vbauer.yta.service.fraction
 
com.github.vbauer.yta.service.fraction.impl - package com.github.vbauer.yta.service.fraction.impl
 
com.github.vbauer.yta.service.transport - package com.github.vbauer.yta.service.transport
 
com.github.vbauer.yta.service.transport.impl - package com.github.vbauer.yta.service.transport.impl
 
convert(LanguageInfo) - Method in class com.github.vbauer.yta.converter.LanguageConverter
convert(LanguagesInfo) - Method in class com.github.vbauer.yta.converter.LanguagesConverter
convert(TranslationInfo) - Method in class com.github.vbauer.yta.converter.TranslationConverter
convert(I) - Method in interface com.github.vbauer.yta.converter.BasicConverter
 
convert(String) - Method in class com.github.vbauer.yta.converter.DirectionConverter
convert(String, Class<T>) - Method in interface com.github.vbauer.yta.service.transport.DataConverter
Convert raw response from Yandex.Translate to POJO.
convert(String, Class<T>) - Method in class com.github.vbauer.yta.service.transport.impl.DataConverterImpl
Convert raw response from Yandex.Translate to POJO.
convertDirection(Collection<Language>, String) - Method in class com.github.vbauer.yta.converter.DirectionConverter
Detect translation direction using collection with languages and text representation of the given direction.
converter() - Method in class com.github.vbauer.yta.service.basic.AbstractApi
Get data converter from API context.
converter() - Method in class com.github.vbauer.yta.service.basic.ApiContext
Get data converter.
CS - Static variable in class com.github.vbauer.yta.model.Language
 
CV - Static variable in class com.github.vbauer.yta.model.Language
 
CY - Static variable in class com.github.vbauer.yta.model.Language
 

D

DA - Static variable in class com.github.vbauer.yta.model.Language
 
DataConverter - Interface in com.github.vbauer.yta.service.transport
Converter of raw responses from Yandex.Translate service.
DataConverterImpl - Class in com.github.vbauer.yta.service.transport.impl
` * See DataConverter.
DataConverterImpl() - Constructor for class com.github.vbauer.yta.service.transport.impl.DataConverterImpl
 
DE - Static variable in class com.github.vbauer.yta.model.Language
 
DEFAULT_TIMEOUT - Static variable in class com.github.vbauer.yta.service.transport.impl.RestClientImpl
 
detect(String) - Method in interface com.github.vbauer.yta.service.fraction.DetectionApi
Detects the language of the specified text.
detect(String) - Method in class com.github.vbauer.yta.service.fraction.impl.DetectionApiImpl
Detects the language of the specified text.
detect(String, TextFormat) - Method in interface com.github.vbauer.yta.service.fraction.DetectionApi
Detects the language of the specified text.
detect(String, TextFormat) - Method in class com.github.vbauer.yta.service.fraction.impl.DetectionApiImpl
Detects the language of the specified text.
detectionApi() - Method in interface com.github.vbauer.yta.service.YTranslateApi
DetectionApi detects the language of the specified text.
detectionApi() - Method in class com.github.vbauer.yta.service.YTranslateApiImpl
DetectionApi detects the language of the specified text.
DetectionApi - Interface in com.github.vbauer.yta.service.fraction
Service allows to detects language of specified text.
DetectionApiImpl - Class in com.github.vbauer.yta.service.fraction.impl
DetectionApiImpl(ApiContext) - Constructor for class com.github.vbauer.yta.service.fraction.impl.DetectionApiImpl
 
direction() - Method in class com.github.vbauer.yta.model.Translation
Get translation direction.
Direction - Class in com.github.vbauer.yta.model
Model which represents direction of translation.
Direction() - Constructor for class com.github.vbauer.yta.model.Direction
 
DirectionConverter - Class in com.github.vbauer.yta.converter
Converter which allows to transform type String to Direction.
DirectionConverter() - Constructor for class com.github.vbauer.yta.converter.DirectionConverter
 
directions() - Method in class com.github.vbauer.yta.model.Languages
Get collection of possible directions.
dirs() - Method in interface com.github.vbauer.yta.model.artificial.LanguagesInfo
Collection of translation directions.

E

EL - Static variable in class com.github.vbauer.yta.model.Language
 
EMJ - Static variable in class com.github.vbauer.yta.model.Language
 
EN - Static variable in class com.github.vbauer.yta.model.Language
 
EO - Static variable in class com.github.vbauer.yta.model.Language
 
equals(Object) - Method in class com.github.vbauer.yta.model.Language
ERR_DAILY_CHAR_LIMIT_EXCEEDED - Static variable in class com.github.vbauer.yta.service.basic.ApiStatus
You have reached the daily limit for the volume of translated text (including calls of the translate method).
ERR_DAILY_REQ_LIMIT_EXCEEDED - Static variable in class com.github.vbauer.yta.service.basic.ApiStatus
You have reached the daily limit for requests (including calls of the translate method).
ERR_KEY_BLOCKED - Static variable in class com.github.vbauer.yta.service.basic.ApiStatus
This API key has been blocked.
ERR_KEY_INVALID - Static variable in class com.github.vbauer.yta.service.basic.ApiStatus
Invalid API key.
ERR_LANG_NOT_SUPPORTED - Static variable in class com.github.vbauer.yta.service.basic.ApiStatus
The specified translation direction is not supported.
ERR_TEXT_TOO_LONG - Static variable in class com.github.vbauer.yta.service.basic.ApiStatus
The text size exceeds the maximum.
ERR_UNPROCESSABLE_TEXT - Static variable in class com.github.vbauer.yta.service.basic.ApiStatus
The text could not be translated.
ES - Static variable in class com.github.vbauer.yta.model.Language
 
ET - Static variable in class com.github.vbauer.yta.model.Language
 
EU - Static variable in class com.github.vbauer.yta.model.Language
 

F

FA - Static variable in class com.github.vbauer.yta.model.Language
 
FI - Static variable in class com.github.vbauer.yta.model.Language
 
findByCode(Collection<E>, T) - Static method in interface com.github.vbauer.yta.model.basic.HasCode
Find find corresponding HasCode element from collection by code.
FR - Static variable in class com.github.vbauer.yta.model.Language
 

G

GA - Static variable in class com.github.vbauer.yta.model.Language
 
GD - Static variable in class com.github.vbauer.yta.model.Language
 
getLanguages(String) - Method in class com.github.vbauer.yta.converter.DirectionConverter
Get 2 languages by given direction.
getOrDefault(TextFormat) - Static method in enum com.github.vbauer.yta.model.basic.TextFormat
Check if it possible to use format parameter or use default value.
getStatus() - Method in exception com.github.vbauer.yta.service.basic.exception.YTranslateApiException
Get status of error.
GL - Static variable in class com.github.vbauer.yta.model.Language
 
GU - Static variable in class com.github.vbauer.yta.model.Language
 

H

HasCode<T> - Interface in com.github.vbauer.yta.model.basic
Interface which indicates that class should have code.
hashCode() - Method in class com.github.vbauer.yta.model.Language
HE - Static variable in class com.github.vbauer.yta.model.Language
 
HI - Static variable in class com.github.vbauer.yta.model.Language
 
HR - Static variable in class com.github.vbauer.yta.model.Language
 
HT - Static variable in class com.github.vbauer.yta.model.Language
 
HTML - com.github.vbauer.yta.model.basic.TextFormat
Text in HTML format.
HU - Static variable in class com.github.vbauer.yta.model.Language
 
HY - Static variable in class com.github.vbauer.yta.model.Language
 

I

ID - Static variable in class com.github.vbauer.yta.model.Language
 
INSTANCE - Static variable in class com.github.vbauer.yta.converter.DirectionConverter
 
INSTANCE - Static variable in class com.github.vbauer.yta.converter.LanguageConverter
 
INSTANCE - Static variable in class com.github.vbauer.yta.converter.LanguagesConverter
 
INSTANCE - Static variable in class com.github.vbauer.yta.converter.TranslationConverter
 
IS - Static variable in class com.github.vbauer.yta.model.Language
 
IT - Static variable in class com.github.vbauer.yta.model.Language
 

J

JA - Static variable in class com.github.vbauer.yta.model.Language
 
JV - Static variable in class com.github.vbauer.yta.model.Language
 

K

KA - Static variable in class com.github.vbauer.yta.model.Language
 
key() - Method in class com.github.vbauer.yta.service.basic.ApiContext
Get Yandex.Translate API key.
KK - Static variable in class com.github.vbauer.yta.model.Language
 
KM - Static variable in class com.github.vbauer.yta.model.Language
 
KN - Static variable in class com.github.vbauer.yta.model.Language
 
KO - Static variable in class com.github.vbauer.yta.model.Language
 
KY - Static variable in class com.github.vbauer.yta.model.Language
 

L

LA - Static variable in class com.github.vbauer.yta.model.Language
 
lang() - Method in interface com.github.vbauer.yta.model.artificial.LanguageInfo
Language code/identifier.
lang() - Method in interface com.github.vbauer.yta.model.artificial.TranslationInfo
Target language.
langs() - Method in interface com.github.vbauer.yta.model.artificial.LanguagesInfo
Dictionary with languages (code / name).
Language - Class in com.github.vbauer.yta.model
Model which represents language.
Language() - Constructor for class com.github.vbauer.yta.model.Language
 
languageApi() - Method in interface com.github.vbauer.yta.service.YTranslateApi
LanguageApi allows to get information about available languages.
languageApi() - Method in class com.github.vbauer.yta.service.YTranslateApiImpl
LanguageApi allows to get information about available languages.
LanguageApi - Interface in com.github.vbauer.yta.service.fraction
Service allows to get a list of translation directions.
LanguageApiImpl - Class in com.github.vbauer.yta.service.fraction.impl
LanguageApiImpl(ApiContext) - Constructor for class com.github.vbauer.yta.service.fraction.impl.LanguageApiImpl
 
LanguageConverter - Class in com.github.vbauer.yta.converter
Converter which allows to transform type LanguageInfo to Language.
LanguageConverter() - Constructor for class com.github.vbauer.yta.converter.LanguageConverter
 
LanguageInfo - Interface in com.github.vbauer.yta.model.artificial
Model-interface with information about language.
languages() - Method in class com.github.vbauer.yta.model.Languages
Get collection of available languages.
Languages - Class in com.github.vbauer.yta.model
Model represents information about available languages and translation directions.
Languages() - Constructor for class com.github.vbauer.yta.model.Languages
 
LanguagesConverter - Class in com.github.vbauer.yta.converter
Converter which allows to transform type LanguagesInfo to Languages.
LanguagesConverter() - Constructor for class com.github.vbauer.yta.converter.LanguagesConverter
 
LanguagesInfo - Interface in com.github.vbauer.yta.model.artificial
Model-interface with information about languages.
LB - Static variable in class com.github.vbauer.yta.model.Language
 
LO - Static variable in class com.github.vbauer.yta.model.Language
 
LT - Static variable in class com.github.vbauer.yta.model.Language
 
LV - Static variable in class com.github.vbauer.yta.model.Language
 

M

METHOD_DETECT - Static variable in class com.github.vbauer.yta.service.fraction.impl.DetectionApiImpl
 
METHOD_DETECT - Static variable in class com.github.vbauer.yta.service.fraction.impl.TranslationApiImpl
 
METHOD_GET_LANGS - Static variable in class com.github.vbauer.yta.service.fraction.impl.LanguageApiImpl
 
MG - Static variable in class com.github.vbauer.yta.model.Language
 
MHR - Static variable in class com.github.vbauer.yta.model.Language
 
MI - Static variable in class com.github.vbauer.yta.model.Language
 
MK - Static variable in class com.github.vbauer.yta.model.Language
 
ML - Static variable in class com.github.vbauer.yta.model.Language
 
MN - Static variable in class com.github.vbauer.yta.model.Language
 
MR - Static variable in class com.github.vbauer.yta.model.Language
 
MRJ - Static variable in class com.github.vbauer.yta.model.Language
 
MS - Static variable in class com.github.vbauer.yta.model.Language
 
MT - Static variable in class com.github.vbauer.yta.model.Language
 
MY - Static variable in class com.github.vbauer.yta.model.Language
 

N

name() - Method in class com.github.vbauer.yta.model.Language
Get language name.
NE - Static variable in class com.github.vbauer.yta.model.Language
 
NL - Static variable in class com.github.vbauer.yta.model.Language
 
NO - Static variable in class com.github.vbauer.yta.model.Language
 

O

of(Direction, String) - Static method in class com.github.vbauer.yta.model.Translation
A factory method to create translation object using direction and translated text.
of(Language) - Static method in class com.github.vbauer.yta.model.Direction
A factory method to create direction object using only target language.
of(Language, Language) - Static method in class com.github.vbauer.yta.model.Direction
A factory method to create direction object using source and target languages.
of(String) - Static method in class com.github.vbauer.yta.model.Language
Create language object using only code value.
of(String) - Static method in class com.github.vbauer.yta.service.basic.ApiContext
Create API context object with default configuration.
of(String, String) - Static method in class com.github.vbauer.yta.model.Language
A factory method to create language object using code and name.
of(Collection<Language>, Collection<Direction>) - Static method in class com.github.vbauer.yta.model.Languages
A factory method to create object using given languages and directions.
OK - Static variable in class com.github.vbauer.yta.service.basic.ApiStatus
Operation completed successfully.

P

PA - Static variable in class com.github.vbauer.yta.model.Language
 
PAP - Static variable in class com.github.vbauer.yta.model.Language
 
PL - Static variable in class com.github.vbauer.yta.model.Language
 
PLAIN_TEXT - com.github.vbauer.yta.model.basic.TextFormat
Text without markup.
PT - Static variable in class com.github.vbauer.yta.model.Language
 

R

RestClient - Interface in com.github.vbauer.yta.service.transport
REST client which allows to fetch information from Yandex.Translate service.
RestClientImpl - Class in com.github.vbauer.yta.service.transport.impl
RestClientImpl(String) - Constructor for class com.github.vbauer.yta.service.transport.impl.RestClientImpl
 
RO - Static variable in class com.github.vbauer.yta.model.Language
 
RU - Static variable in class com.github.vbauer.yta.model.Language
 

S

SEPARATOR - Static variable in class com.github.vbauer.yta.model.Direction
 
SERVICE_URL - Static variable in class com.github.vbauer.yta.service.transport.impl.RestClientImpl
 
SI - Static variable in class com.github.vbauer.yta.model.Language
 
SK - Static variable in class com.github.vbauer.yta.model.Language
 
SL - Static variable in class com.github.vbauer.yta.model.Language
 
source() - Method in class com.github.vbauer.yta.model.Direction
Get source/origin language.
SQ - Static variable in class com.github.vbauer.yta.model.Language
 
SR - Static variable in class com.github.vbauer.yta.model.Language
 
SU - Static variable in class com.github.vbauer.yta.model.Language
 
SV - Static variable in class com.github.vbauer.yta.model.Language
 
SW - Static variable in class com.github.vbauer.yta.model.Language
 

T

TA - Static variable in class com.github.vbauer.yta.model.Language
 
target() - Method in class com.github.vbauer.yta.model.Direction
Get target/destination language.
TE - Static variable in class com.github.vbauer.yta.model.Language
 
text() - Method in interface com.github.vbauer.yta.model.artificial.TranslationInfo
Translated text.
text() - Method in class com.github.vbauer.yta.model.Translation
Get translated text.
TextFormat - Enum in com.github.vbauer.yta.model.basic
Text format could be used in the following services: DetectionApi TranslationApi It allows to specify kind of source text.
TG - Static variable in class com.github.vbauer.yta.model.Language
 
TH - Static variable in class com.github.vbauer.yta.model.Language
 
TL - Static variable in class com.github.vbauer.yta.model.Language
 
toString() - Method in class com.github.vbauer.yta.model.Direction
toString() - Method in class com.github.vbauer.yta.model.Language
toString() - Method in class com.github.vbauer.yta.model.Translation
TR - Static variable in class com.github.vbauer.yta.model.Language
 
translate(String, Direction) - Method in class com.github.vbauer.yta.service.fraction.impl.TranslationApiImpl
Translates text to the specified language.
translate(String, Direction) - Method in interface com.github.vbauer.yta.service.fraction.TranslationApi
Translates text to the specified language.
translate(String, Direction, TextFormat) - Method in class com.github.vbauer.yta.service.fraction.impl.TranslationApiImpl
Translates text to the specified language.
translate(String, Direction, TextFormat) - Method in interface com.github.vbauer.yta.service.fraction.TranslationApi
Translates text to the specified language.
translate(String, Language) - Method in class com.github.vbauer.yta.service.fraction.impl.TranslationApiImpl
Translates text to the specified language.
translate(String, Language) - Method in interface com.github.vbauer.yta.service.fraction.TranslationApi
Translates text to the specified language.
Translation - Class in com.github.vbauer.yta.model
Model represents the result of translation.
Translation() - Constructor for class com.github.vbauer.yta.model.Translation
 
translationApi() - Method in interface com.github.vbauer.yta.service.YTranslateApi
TranslationApi allows to translate text from one language to another.
translationApi() - Method in class com.github.vbauer.yta.service.YTranslateApiImpl
TranslationApi allows to translate text from one language to another.
TranslationApi - Interface in com.github.vbauer.yta.service.fraction
Service allows to translate text to the specified language.
TranslationApiImpl - Class in com.github.vbauer.yta.service.fraction.impl
TranslationApiImpl(ApiContext) - Constructor for class com.github.vbauer.yta.service.fraction.impl.TranslationApiImpl
 
TranslationConverter - Class in com.github.vbauer.yta.converter
Converter which allows to transform type TranslationInfo to Translation.
TranslationConverter() - Constructor for class com.github.vbauer.yta.converter.TranslationConverter
 
TranslationInfo - Interface in com.github.vbauer.yta.model.artificial
Model-interface with information about translated text.
TT - Static variable in class com.github.vbauer.yta.model.Language
 

U

UDM - Static variable in class com.github.vbauer.yta.model.Language
 
UK - Static variable in class com.github.vbauer.yta.model.Language
 
UR - Static variable in class com.github.vbauer.yta.model.Language
 
UZ - Static variable in class com.github.vbauer.yta.model.Language
 

V

valueOf(String) - Static method in enum com.github.vbauer.yta.model.basic.TextFormat
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.vbauer.yta.model.basic.TextFormat
Returns an array containing the constants of this enum type, in the order they are declared.
VI - Static variable in class com.github.vbauer.yta.model.Language
 

X

XH - Static variable in class com.github.vbauer.yta.model.Language
 

Y

YI - Static variable in class com.github.vbauer.yta.model.Language
 
YTranslateApi - Interface in com.github.vbauer.yta.service
Facade service which allows to use Yandex.Translate features.
YTranslateApiException - Exception in com.github.vbauer.yta.service.basic.exception
Exception class for problems corresponding to Yandex Translate API service.
YTranslateApiException(int) - Constructor for exception com.github.vbauer.yta.service.basic.exception.YTranslateApiException
 
YTranslateApiImpl - Class in com.github.vbauer.yta.service
YTranslateApiImpl(ApiContext) - Constructor for class com.github.vbauer.yta.service.YTranslateApiImpl
 
YTranslateApiImpl(String) - Constructor for class com.github.vbauer.yta.service.YTranslateApiImpl
 
YTranslateException - Exception in com.github.vbauer.yta.service.basic.exception
Basic class for all exceptions corresponding to yandex-translate-api library.
YTranslateException(String) - Constructor for exception com.github.vbauer.yta.service.basic.exception.YTranslateException
 
YTranslateException(String, Throwable) - Constructor for exception com.github.vbauer.yta.service.basic.exception.YTranslateException
 

Z

ZH - Static variable in class com.github.vbauer.yta.model.Language
 
A B C D E F G H I J K L M N O P R S T U V X Y Z 
All Classes All Packages