Skip navigation links
A B C D E F G H I J L M N P R S T V W 

A

Alternative() - Constructor for class io.github.firemaples.models.DetectResult.Alternative
 
alternatives - Variable in class io.github.firemaples.models.DetectResult.Result
 
apiKey - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 

B

BooleanTypeAdapterFactory() - Constructor for class io.github.firemaples.utils.JsonUtil.BooleanTypeAdapterFactory
 
BreakSentences - Class in io.github.firemaples.sentence
BreakSentences
BreakSentencesResult - Class in io.github.firemaples.models
 
BreakSentencesResult() - Constructor for class io.github.firemaples.models.BreakSentencesResult
 
BreakSentencesResult.DetectedLanguage - Class in io.github.firemaples.models
 
BreakSentencesResult.Result - Class in io.github.firemaples.models
 
build(String...) - Static method in class io.github.firemaples.models.TextArrayRequest
 
buildStringArrayParam(Object[]) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
 

C

compareTo(TypeReference<T>) - Method in class io.github.firemaples.utils.TypeReference
The only reason we define this method (and require implementation of Comparable) is to prevent constructing a reference without type information.
create(Gson, TypeToken<T>) - Method in class io.github.firemaples.utils.JsonUtil.BooleanTypeAdapterFactory
 

D

Detect - Class in io.github.firemaples.detect
Detect
DetectedLanguage() - Constructor for class io.github.firemaples.models.BreakSentencesResult.DetectedLanguage
 
detectedLanguage - Variable in class io.github.firemaples.models.BreakSentencesResult.Result
 
DetectedLanguage() - Constructor for class io.github.firemaples.models.TranslationResult.DetectedLanguage
 
detectedLanguage - Variable in class io.github.firemaples.models.TranslationResult.Result
 
DetectResult - Class in io.github.firemaples.models
 
DetectResult() - Constructor for class io.github.firemaples.models.DetectResult
 
DetectResult.Alternative - Class in io.github.firemaples.models
 
DetectResult.Result - Class in io.github.firemaples.models
 
dir - Variable in class io.github.firemaples.models.LanguagesResult.TranslationLanguage
 

E

ENCODING - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
execute(String) - Static method in class io.github.firemaples.detect.Detect
Detects the language of a supplied String.
execute(String[]) - Static method in class io.github.firemaples.detect.Detect
Detects the language of all supplied Strings in array.
execute(String, Language) - Static method in class io.github.firemaples.sentence.BreakSentences
Reports the number of sentences detected and the length of those sentences
execute(String, SpokenDialect) - Static method in class io.github.firemaples.speak.Speak
Deprecated.
Detects the language of a supplied String.
execute(String, Language, Language) - Static method in class io.github.firemaples.translate.Translate
Translates text from a given Language to another given Language using Microsoft Translator.
execute(String, Language) - Static method in class io.github.firemaples.translate.Translate
Translates text from a given Language to another given Language using Microsoft Translator.
execute(String[], Language, Language) - Static method in class io.github.firemaples.translate.Translate
Translates an array of texts from a given Language to another given Language using Microsoft Translator's TranslateArray service
execute(String[], Language) - Static method in class io.github.firemaples.translate.Translate
Translates an array of texts from an Automatically detected language to another given Language using Microsoft Translator's TranslateArray service

F

flushNameCache() - Static method in enum io.github.firemaples.language.Language
 
flushNameCache() - Static method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
 
fromString(String) - Static method in enum io.github.firemaples.language.Language
 
fromString(String) - Static method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
 

G

getLanguageCodesForTranslation() - Static method in enum io.github.firemaples.language.Language
 
getName(Language) - Method in enum io.github.firemaples.language.Language
getName()
getName(Language) - Method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
getName()
getProtocol() - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Get current protocol.
getToken(String) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Gets the OAuth access token.
getType() - Method in class io.github.firemaples.utils.TypeReference
 

H

HTTP_GET - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
HTTP_POST - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 

I

io.github.firemaples - package io.github.firemaples
 
io.github.firemaples.detect - package io.github.firemaples.detect
 
io.github.firemaples.language - package io.github.firemaples.language
 
io.github.firemaples.models - package io.github.firemaples.models
 
io.github.firemaples.sentence - package io.github.firemaples.sentence
 
io.github.firemaples.speak - package io.github.firemaples.speak
 
io.github.firemaples.translate - package io.github.firemaples.translate
 
io.github.firemaples.utils - package io.github.firemaples.utils
 
isTranslationSupported - Variable in class io.github.firemaples.models.DetectResult.Alternative
 
isTransliterationSupported - Variable in class io.github.firemaples.models.DetectResult.Alternative
 
isUsingSSL() - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Is using SSL protocol now.

J

JsonUtil<T> - Class in io.github.firemaples.utils
 
JsonUtil() - Constructor for class io.github.firemaples.utils.JsonUtil
 
JsonUtil.BooleanTypeAdapterFactory - Class in io.github.firemaples.utils
 

L

Language - Enum in io.github.firemaples.language
Language - an enum of all language codes supported by the Microsoft Translator API
language - Variable in class io.github.firemaples.models.BreakSentencesResult.DetectedLanguage
 
language - Variable in class io.github.firemaples.models.DetectResult.Alternative
 
language - Variable in class io.github.firemaples.models.TranslationResult.DetectedLanguage
 
LanguagesResult - Class in io.github.firemaples.models
 
LanguagesResult() - Constructor for class io.github.firemaples.models.LanguagesResult
 
LanguagesResult.TranslationLanguage - Class in io.github.firemaples.models
 

M

MicrosoftTranslatorAPI<RQ,RP> - Class in io.github.firemaples
MicrosoftAPI
MicrosoftTranslatorAPI() - Constructor for class io.github.firemaples.MicrosoftTranslatorAPI
 

N

name - Variable in class io.github.firemaples.models.LanguagesResult.TranslationLanguage
 
nativeName - Variable in class io.github.firemaples.models.LanguagesResult.TranslationLanguage
 

P

PARAM_APP_ID - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_FROM_LANG - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_LANGUAGE_CODES - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_LOCALE - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_SCOPE - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_SENTENCES_LANGUAGE - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_SPOKEN_LANGUAGE - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_TEXT_ARRAY - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_TEXT_SINGLE - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PARAM_TO_LANG - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
parseJson(String, Class<T>) - Method in class io.github.firemaples.utils.JsonUtil
 
parseJson(JsonObject, Class<R>) - Method in class io.github.firemaples.utils.JsonUtil
 
parseJson(String, TypeReference<T>) - Method in class io.github.firemaples.utils.JsonUtil
 
protocol - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PROTOCOL_HTTP - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 
PROTOCOL_HTTPS - Static variable in class io.github.firemaples.MicrosoftTranslatorAPI
 

R

registerTypeAdapter(Class<T>, Object) - Method in class io.github.firemaples.utils.JsonUtil
 
resetToken() - Static method in enum io.github.firemaples.language.Language
 
resetToken() - Static method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
 
resetToken() - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
 
Result() - Constructor for class io.github.firemaples.models.BreakSentencesResult.Result
 
Result() - Constructor for class io.github.firemaples.models.DetectResult.Result
 
Result() - Constructor for class io.github.firemaples.models.TranslationResult.Result
 
retrieveIntArray(URL) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Fetches the JSON response, parses the JSON Response, returns the result of the request as an array of integers.
retrieveResponseV3(URL, String, RQ, TypeReference<RP>) - Method in class io.github.firemaples.MicrosoftTranslatorAPI
 
retrieveResponseV3(URL, String, RQ, TypeReference<RP>, HashMap<String, String>) - Method in class io.github.firemaples.MicrosoftTranslatorAPI
 
retrieveResult(String...) - Static method in class io.github.firemaples.detect.Detect
 
retrieveResult(Language, String...) - Static method in class io.github.firemaples.sentence.BreakSentences
 
retrieveResult(Language, Language, String...) - Static method in class io.github.firemaples.translate.Translate
Translates an array of texts from a given Language to another given Language using Microsoft Translator's TranslateArray service
retrieveString(URL) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Fetches the JSON response, parses the JSON Response, returns the result of the request as a String.
retrieveStringArr(URL, String) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Fetches the JSON response, parses the JSON Response as an Array of JSONObjects, retrieves the String value of the specified JSON Property, and returns the result of the request as a String Array.
retrieveStringArr(URL) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Fetches the JSON response, parses the JSON Response as an array of Strings and returns the result of the request as a String Array.

S

score - Variable in class io.github.firemaples.models.BreakSentencesResult.DetectedLanguage
 
score - Variable in class io.github.firemaples.models.DetectResult.Alternative
 
score - Variable in class io.github.firemaples.models.TranslationResult.DetectedLanguage
 
sentLen - Variable in class io.github.firemaples.models.BreakSentencesResult.Result
 
setContentType(String) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Sets the API key.
setHttpReferrer(String) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Sets the Http Referrer.
setKey(String) - Static method in enum io.github.firemaples.language.Language
 
setKey(String) - Static method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
 
setKey(String) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Sets the API key.
setSubscriptionKey(String) - Static method in enum io.github.firemaples.language.Language
 
setSubscriptionKey(String) - Static method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
 
setSubscriptionKey(String) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
 
setUsingSSL(boolean) - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
Set using SSL protocol.
Speak - Class in io.github.firemaples.speak
Deprecated.
SpokenDialect - Enum in io.github.firemaples.language
Deprecated.
sThreadLocalReadObject - Static variable in class io.github.firemaples.utils.JsonUtil
 

T

Text(String) - Constructor for class io.github.firemaples.models.TextArrayRequest.Text
 
text - Variable in class io.github.firemaples.models.TranslationResult.Translation
 
TextArrayRequest - Class in io.github.firemaples.models
 
TextArrayRequest.Text - Class in io.github.firemaples.models
 
to - Variable in class io.github.firemaples.models.TranslationResult.Translation
 
toJsonString(Object) - Method in class io.github.firemaples.MicrosoftTranslatorAPI
 
toString() - Method in enum io.github.firemaples.language.Language
Returns the String representation of this language.
toString() - Method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
Returns the String representation of this language.
Translate - Class in io.github.firemaples.translate
Translate
translation - Variable in class io.github.firemaples.models.LanguagesResult
 
Translation() - Constructor for class io.github.firemaples.models.TranslationResult.Translation
 
TranslationLanguage() - Constructor for class io.github.firemaples.models.LanguagesResult.TranslationLanguage
 
TranslationResult - Class in io.github.firemaples.models
 
TranslationResult() - Constructor for class io.github.firemaples.models.TranslationResult
 
TranslationResult.DetectedLanguage - Class in io.github.firemaples.models
 
TranslationResult.Result - Class in io.github.firemaples.models
 
TranslationResult.Translation - Class in io.github.firemaples.models
 
translations - Variable in class io.github.firemaples.models.TranslationResult.Result
 
TypeReference<T> - Class in io.github.firemaples.utils
This class is used to pass full generics type information, and avoid problems with type erasure (that basically removes most usable type references from runtime Class objects).
TypeReference() - Constructor for class io.github.firemaples.utils.TypeReference
 

V

validateServiceState() - Static method in class io.github.firemaples.MicrosoftTranslatorAPI
 
valueOf(String) - Static method in enum io.github.firemaples.language.Language
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.firemaples.language.Language
Returns an array containing the constants of this enum type, in the order they are declared.
values(Language) - Static method in enum io.github.firemaples.language.Language
values(Language locale)
values() - Static method in enum io.github.firemaples.language.SpokenDialect
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeJson(Object) - Method in class io.github.firemaples.utils.JsonUtil
 
A B C D E F G H I J L M N P R S T V W 
Skip navigation links