Index

B C E F I L O P R S T 
All Classes and Interfaces|All Packages

B

build() - Method in interface org.incendo.cloud.translations.LocaleExtractor.Builder
Builds a LocaleExtractor from the state of this builder.
builder() - Static method in interface org.incendo.cloud.translations.LocaleExtractor

C

core(LocaleExtractor<C>) - Static method in interface org.incendo.cloud.translations.TranslationBundle
Returns the translation bundle for the cloud-core translations.

E

empty() - Static method in interface org.incendo.cloud.translations.TranslatedCaptionProvider
Returns an empty translation caption provider that always returns null.
extract(C) - Method in interface org.incendo.cloud.translations.LocaleExtractor
Extracts the locale from the given recipient.

F

fallback(Locale) - Method in interface org.incendo.cloud.translations.LocaleExtractor.Builder
fallback(LocaleExtractor<C>) - Method in interface org.incendo.cloud.translations.LocaleExtractor.Builder
Sets the fallback LocaleExtractor for when none of the configured LocaleExtractor.Builder.senderType(TypeToken, Function) extractors match the sender.

I

isEmpty() - Method in class org.incendo.cloud.translations.TranslatedCaptionProvider.Empty
 
isEmpty() - Method in interface org.incendo.cloud.translations.TranslatedCaptionProvider
Returns whether the provider is empty.

L

locale() - Method in class org.incendo.cloud.translations.TranslatedCaptionProvider.Empty
 
locale() - Method in interface org.incendo.cloud.translations.TranslatedCaptionProvider
Returns the provider locale.
localeExtractor() - Method in interface org.incendo.cloud.translations.TranslationBundle
Returns the extractor that extract locales from senders of type TranslationBundle.
LocaleExtractor<C> - Interface in org.incendo.cloud.translations
Extractor that extracts locales from command senders.
LocaleExtractor.Builder<C> - Interface in org.incendo.cloud.translations
Builder for a LocaleExtractor that delegates to functions based on command sender type.

O

org.incendo.cloud.translations - package org.incendo.cloud.translations
System for translating cloud messages.

P

provide(Caption, C) - Method in class org.incendo.cloud.translations.TranslatedCaptionProvider.Empty
 
provide(Caption, C) - Method in interface org.incendo.cloud.translations.TranslationBundle
 

R

resourceBundle(String, LocaleExtractor<C>) - Static method in interface org.incendo.cloud.translations.TranslationBundle
Creates a new translation bundle backed by a ResourceBundle with the given baseName.
resourceBundle(String, LocaleExtractor<C>, ClassLoader) - Static method in interface org.incendo.cloud.translations.TranslationBundle
Creates a new translation bundle backed by a ResourceBundle with the given baseName.

S

senderType(TypeToken<S>, Function<S, Locale>) - Method in interface org.incendo.cloud.translations.LocaleExtractor.Builder
Registers a locale extractor for a specific sender type to this builder.
senderType(Class<S>, Function<S, Locale>) - Method in interface org.incendo.cloud.translations.LocaleExtractor.Builder
Registers a locale extractor for a specific sender type to this builder.

T

TranslatedCaptionProvider<C> - Interface in org.incendo.cloud.translations
Caption provider that provides translated captions.
TranslatedCaptionProvider.Empty<C> - Class in org.incendo.cloud.translations
 
TranslationBundle<C> - Interface in org.incendo.cloud.translations
A bundle of translations.
translations(Locale) - Method in interface org.incendo.cloud.translations.TranslationBundle
Returns the translations for the given locale.
B C E F I L O P R S T 
All Classes and Interfaces|All Packages