Uses of Class
com.lokalized.LocaleMatchResult
-
Uses of LocaleMatchResult in com.lokalized
Methods in com.lokalized that return LocaleMatchResultModifier and TypeMethodDescriptionLocaleMatcher.matchFor(@NonNull List<@NonNull Locale.LanguageRange> languageRanges) Strictly negotiates language ranges without manufacturing a configured-fallback match.default @NonNull LocaleMatchResultStrictly negotiates a locale without manufacturing a configured-fallback match.Methods in com.lokalized that return types with arguments of type LocaleMatchResultModifier and TypeMethodDescriptionMissingTranslationException.getLocaleMatchResult()Gets strict locale-negotiation diagnostics when available.default @NonNull Optional<@NonNull LocaleMatchResult> TranslationFailure.getLocaleMatchResult()Gets strict locale-negotiation diagnostics when the implementation can provide them.TranslationResult.getLocaleMatchResult()Gets strict locale-negotiation diagnostics when available.Method parameters in com.lokalized with type arguments of type LocaleMatchResultModifier and TypeMethodDescriptionStrings.Builder.localeMatchSupplier(@Nullable Function<@NonNull LocaleMatcher, @NonNull LocaleMatchResult> localeMatchSupplier) Applies a locale-negotiation-result supplier to this builder.Constructors in com.lokalized with parameters of type LocaleMatchResultModifierConstructorDescriptionMissingTranslationException(@NonNull String message, @NonNull String key, @NonNull Map<@NonNull String, @Nullable Object> placeholders, @NonNull Locale lookupLocale, @Nullable LocaleMatchResult localeMatchResult, @NonNull TranslationFailureReason reason, @NonNull List<@NonNull Locale> attemptedLocales) Constructs an exception with complete failed-lookup and locale-negotiation diagnostics.TranslationResult(@NonNull String key, @NonNull String translation, @NonNull Locale lookupLocale, @Nullable LocaleMatchResult localeMatchResult, @Nullable Locale resolvedLocale, @NonNull List<@NonNull Locale> attemptedLocales, @NonNull TranslationResultStatus status, @Nullable TranslationFailureReason failureReason, @Nullable Throwable cause) Constructs a translation result with locale-negotiation diagnostics.