Serialized Form
-
Package com.lokalized
-
Exception Class com.lokalized.ExpressionEvaluationException
class ExpressionEvaluationException extends RuntimeException implements Serializable -
Class com.lokalized.LocaleMatchResult
class LocaleMatchResult extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
Rejects direct deserialization so construction always passes through the validating proxy.- Parameters:
inputStream- serialized input, not null- Throws:
InvalidObjectException- always
-
writeReplace
Replaces this value with a proxy that serializes language ranges as range/weight pairs.
-
-
Serialized Fields
-
consideredLocales
@NonNull List<@NonNull Locale> consideredLocales
Supported locales considered during negotiation. -
effectiveWeight
@Nullable Double effectiveWeight
Effective quality of the selected locale, or null for no match. -
fallbackLocale
@NonNull Locale fallbackLocale
Configured fallback locale. -
languageRange
@Nullable Locale.LanguageRange languageRange
Language range associated with the selection, or null for no match. -
locale
@Nullable Locale locale
Selected supported locale, or null for no match. -
matchType
@NonNull LocaleMatchType matchType
Relationship used for the selection. -
requestedLanguageRanges
@NonNull List<@NonNull Locale.LanguageRange> requestedLanguageRanges
Language ranges supplied for negotiation, in caller order.
-
-
Exception Class com.lokalized.LocalizedStringLoadingException
class LocalizedStringLoadingException extends RuntimeException implements Serializable -
Class com.lokalized.MinimalJson.JsonArray
class JsonArray extends com.lokalized.MinimalJson.JsonValue implements Serializable -
Class com.lokalized.MinimalJson.JsonObject
class JsonObject extends com.lokalized.MinimalJson.JsonValue implements Serializable-
Serialization Methods
-
readObject
Restores the transient member-name index after deserialization.- Parameters:
inputStream- serialized input, not null- Throws:
IOException- if the serialized input cannot be readClassNotFoundException- if a serialized class cannot be resolved
-
-
Serialized Fields
-
-
Class com.lokalized.MinimalJson.JsonValue
class JsonValue extends Object implements Serializable -
Exception Class com.lokalized.MinimalJson.ParseException
class ParseException extends RuntimeException implements Serializable-
Serialized Fields
-
location
com.lokalized.MinimalJson.Location location
Location at which parsing failed.
-
-
-
Exception Class com.lokalized.MissingTranslationException
class MissingTranslationException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
attemptedLocales
@NonNull List<@NonNull Locale> attemptedLocales
Ordered locales attempted before the failure. -
key
@NonNull String key
Translation key that could not be resolved. -
localeMatchResult
@Nullable LocaleMatchResult localeMatchResult
Locale-negotiation diagnostics, when available. -
lookupLocale
@NonNull Locale lookupLocale
Locale used to begin per-key locale fallback. -
placeholders
@NonNull Map<@NonNull String, @Nullable Object> placeholders
Caller-supplied placeholders for the failed translation attempt. -
reason
@NonNull TranslationFailureReason reason
Final reason that the translation attempt failed.
-
-
Exception Class com.lokalized.UnsupportedLocaleException
class UnsupportedLocaleException extends RuntimeException implements Serializable
-