All Classes Interface Summary Class Summary Enum Summary Exception Summary
| Class |
Description |
| AT4J |
This class contains constants related to the AT4J version, commit ID, build timestamp, display
version, GitHub URL, user agent, and Azure Translator API version.
|
| AT4JThreadFactory |
A thread factory that creates optionally numbered threads as daemon or non-daemon.
|
| AvailableLanguagesParams |
This class represents the parameters for available languages.
|
| AzureApi |
This class is the most important class of AT4J, as it contains the main methods for translating
text.
|
| AzureApiBuilder |
Builder class for constructing instances of AzureApi.
|
| AzureApiImpl<T> |
This class is an implementation of the AzureApi interface.
|
| AzureException |
This exception is always thrown whenever a request to azure failed.
|
| AzureExceptionInstantiation<T extends AzureException> |
Represents a function that accepts four arguments (Exception, String,
RestRequest<?> and RestRequestResult) and produces an azure exception of type T.
|
| BadRequestException |
When we sent a bad request (HTTP response code 400).
|
| BaseURL |
The base URL of the Azure Translator API.
|
| DetectedLanguage |
Represents a detected language.
|
| DetectLanguageParams |
This class represents the parameters for a language detection request.
|
| DetectResponse |
This class represents a response from a language detection operation.
|
| ForbiddenException |
This exception is thrown when the Azure API returns a 403 Forbidden response.
|
| InternalServerErrorException |
This exception is thrown when the Azure API returns a 403 Forbidden response.
|
| Language |
Represents a language with its code, name, native name and direction.
|
| LanguageDirection |
Enum representing the direction of a language.
|
| LanguageScope |
Enum representing the different language scopes that can be used.
|
| LoggerUtil |
This class is used to get a Logger instance.
|
| MethodNotAllowedException |
This exception is thrown when the Azure API returns a 403 Forbidden response.
|
| NotFoundException |
When something was not found (HTTP response code 404).
|
| ProfanityAction |
Enum ProfanityAction is used to specify how profanities should be treated in translations.
|
| ProfanityMarker |
Enum ProfanityMarker is used to specify how profanities should be marked in translations.
|
| ProtectedLogger |
This logger is used to wrap another logger and replace configured sensitive data by asterisks.
|
| RateLimitBucket<T,T4,T3> |
This class represents a rate limit bucket for Azure API requests.
|
| RatelimitException |
When we encounter a rate limit and run out of retiring.
|
| RateLimitManager<T,T3,T4> |
This class manages rate-limits and keeps track of them.
|
| RequestTimeoutException |
This exception is thrown when the Azure API returns a 408 Request Timeout response.
|
| RestEndpoint |
This enum contains all endpoints that we may use.
|
| RestMethod |
This is an enumeration representing the most commonly used HTTP methods.
|
| RestRequest |
This class is used to wrap a rest request.
|
| RestRequestHandler |
This class is responsible for handling REST requests.
|
| RestRequestHttpResponseCode |
An enum with all rest request result codes as defined by Azure.
|
| RestRequestInfo |
Some information about a rest request.
|
| RestRequestInfoImpl |
|
| RestRequestResponseInfo |
Some information about a rest request response.
|
| RestRequestResponseInfoImpl |
|
| RestRequestResult |
|
| RestRequestResultErrorCode |
|
| ServiceUnavailableException |
This exception is thrown when the Azure API returns a 408 Request Timeout response.
|
| TextType |
This enum class represents the type of text that is being translated.
|
| ThreadPool |
This class creates and contains thread pools which are used by AT4J.
|
| ThreadPoolImpl |
|
| TranslateParams |
This class represents the parameters for a translation request.
|
| Translation |
A translation of a text.
|
| TranslationResponse |
This class represents a response that contains a list of translation results.
|
| TranslationResult |
This class represents a response from a translation service.
|
| UnauthorizedException |
When we sent a bad request (HTTP response code 400).
|
| UnsupportedMediaTypeException |
When we sent a bad request (HTTP response code 400).
|