Index

A B C D E F G H I L M N O P R S T U V W X Z 
All Classes and Interfaces|All Packages|Serialized Form

A

ABLATIVE - Enum constant in enum com.lokalized.GrammaticalCase
Source, motion-away-from, or separation form.
ACCUSATIVE - Enum constant in enum com.lokalized.GrammaticalCase
Direct object form.
alternatives(List) - Method in class com.lokalized.LocalizedString.Builder
Applies alternative expression-driven translations to this builder.
ALWAYS - Enum constant in enum com.lokalized.BidiIsolation
In every resolved locale, wrap caller-supplied placeholder values with First Strong Isolate (U+2068) and Pop Directional Isolate (U+2069).
Animacy - Enum in com.lokalized
Language animacy forms.
ANIMAL - Enum constant in enum com.lokalized.Classifier
Animals or living creatures.
ANIMATE - Enum constant in enum com.lokalized.Animacy
Animate/sentient.

B

bestMatchFor(List) - Method in interface com.lokalized.LocaleMatcher
Given a list of language ranges (e.g. as parsed from an Accept-Language HTTP request header), determine the best-matching localized strings file's locale.
bestMatchFor(Locale) - Method in interface com.lokalized.LocaleMatcher
Given a locale, determine the best-matching localized strings file's locale.
bestMatchForAcceptLanguage(String) - Method in interface com.lokalized.LocaleMatcher
Given a raw Accept-Language HTTP field value, determines the best-matching localized strings file's locale.
bidiIsolation(BidiIsolation) - Method in class com.lokalized.Strings.Builder
Applies bidirectional isolation behavior for caller-supplied placeholder values.
bidiIsolation(BidiIsolation) - Method in class com.lokalized.TranslationOptions.Builder
Applies a bidirectional isolation override.
BidiIsolation - Enum in com.lokalized
Controls whether Lokalized wraps caller-supplied placeholder values with Unicode bidirectional isolate controls.
BOUND - Enum constant in enum com.lokalized.Classifier
Bound volumes such as books or magazines.
build() - Method in class com.lokalized.LocalizedString.Builder
Constructs an instance of LocalizedString.
build() - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Builds immutable loading options.
build() - Method in class com.lokalized.PluralOperands.Builder
Builds immutable plural operands.
build() - Method in class com.lokalized.Strings.Builder
Constructs a Strings instance.
build() - Method in class com.lokalized.TranslationOptions.Builder
Constructs a TranslationOptions instance.
build() - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Builds immutable runtime limits.
builder() - Static method in class com.lokalized.LocalizedStringLoadingOptions
Creates a builder initialized with the default limits.
builder() - Static method in class com.lokalized.TranslationOptions
Creates a translation options builder.
builder() - Static method in class com.lokalized.TranslationRuntimeLimits
Creates a builder initialized to the library defaults.
Builder(String) - Constructor for class com.lokalized.LocalizedString.Builder
Constructs a localized string builder with the given key.

C

CANONICAL - Enum constant in enum com.lokalized.LocaleMatchType
The requested and supported locale tags matched after canonicalization.
Cardinality - Enum in com.lokalized
Language plural cardinality forms.
CASUAL - Enum constant in enum com.lokalized.Formality
Casual register.
Classifier - Enum in com.lokalized
Generic classifier categories for languages that require measure words or counters.
CLDR_FALLBACK - Enum constant in enum com.lokalized.LocaleMatchType
The supported locale matched through a CLDR parent-locale fallback.
Clusivity - Enum in com.lokalized
Language clusivity forms.
com.lokalized - package com.lokalized
Lokalized facilitates natural-sounding software translations.
commentary(String) - Method in class com.lokalized.LocalizedString.Builder
Applies commentary (usage/translation notes) to this builder.
COMMON - Enum constant in enum com.lokalized.Gender
Common gender (masculine + feminine), e.g.
compactExponent(Integer) - Method in class com.lokalized.PluralOperands.Builder
Specifies the compact-decimal exponent used by the CLDR c and e operands.
CONSONANT - Enum constant in enum com.lokalized.Phonetic
Word begins with a typical consonant sound.
CONSTRUCT - Enum constant in enum com.lokalized.Definiteness
Construct or bound-state form used by languages such as Arabic and Hebrew.

D

DATIVE - Enum constant in enum com.lokalized.GrammaticalCase
Indirect object or recipient form.
DEFAULT_EXHAUSTIVE_CLASSPATH_SEARCH - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Whether exhaustive classpath-root searching is enabled by default: false.
DEFAULT_MAXIMUM_ABSOLUTE_NUMBER_SCALE - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for the absolute value of a decimal scale: 1,024.
DEFAULT_MAXIMUM_COMPACT_EXPONENT - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for compact-decimal exponents: 64.
DEFAULT_MAXIMUM_DISCOVERY_ENTRIES - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Default maximum number of discovery entries examined by one filesystem or classpath load: 100,000.
DEFAULT_MAXIMUM_EXPRESSION_CHARACTERS - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for characters in one whole-message or generated-fragment expression: 2,048.
DEFAULT_MAXIMUM_EXPRESSION_NESTING_DEPTH - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for nested groups in one whole-message or generated-fragment expression: 32.
DEFAULT_MAXIMUM_EXPRESSION_TOKENS - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for tokens in one whole-message or generated-fragment expression: 256.
DEFAULT_MAXIMUM_GENERATED_EXPANSION_CHARACTERS - Static variable in class com.lokalized.TranslationRuntimeLimits
Default cumulative expansion limit across both generated-placeholder kinds: 1,048,576 UTF-16 code units per locale fallback attempt.
DEFAULT_MAXIMUM_GENERATED_PLACEHOLDER_DEPTH - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for nested generated placeholders across both definition kinds: 32.
DEFAULT_MAXIMUM_INPUT_BYTES - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Default maximum read from one localized strings resource: 8,388,608 bytes (8 MiB).
DEFAULT_MAXIMUM_INTERPOLATED_OUTPUT_CHARACTERS - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for one interpolated message, generated fragment, or phonetic input: 262,144 UTF-16 code units.
DEFAULT_MAXIMUM_JSON_NESTING_DEPTH - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Default maximum JSON object/array nesting depth: 64.
DEFAULT_MAXIMUM_LOCALIZED_STRINGS_FILES - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Default maximum number of localized strings files accepted by one load: 256.
DEFAULT_MAXIMUM_NUMBER_PRECISION - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for decimal precision: 1,024.
DEFAULT_MAXIMUM_READER_CHARACTERS - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Default maximum read from one Reader: 8,388,608 UTF-16 code units.
DEFAULT_MAXIMUM_TOTAL_INPUT_BYTES - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Default maximum total read by one load: 33,554,432 bytes (32 MiB).
DEFAULT_MAXIMUM_TRANSLATION_NODES - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Default maximum translation nodes accepted by one load: 100,000.
DEFAULT_MAXIMUM_VISIBLE_DECIMAL_PLACES - Static variable in class com.lokalized.TranslationRuntimeLimits
Default limit for explicitly visible decimal places: 1,024.
DEFAULT_MAXIMUM_WARNINGS - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Default maximum number of warnings emitted by one load: 1,000.
defaults() - Static method in class com.lokalized.LocalizedStringLoadingOptions
Gets the default loading options.
defaults() - Static method in class com.lokalized.TranslationRuntimeLimits
Gets the library-default limits.
DEFINITE - Enum constant in enum com.lokalized.Definiteness
Definite form, such as "the book" or Arabic nouns with the definite article.
Definiteness - Enum in com.lokalized
Definiteness forms.

E

emptyFiniteRange() - Static method in class com.lokalized.Range
Gets the empty finite range.
emptyInfiniteRange() - Static method in class com.lokalized.Range
Gets the empty infinite range.
equals(Object) - Method in class com.lokalized.LocaleMatchResult
 
equals(Object) - Method in class com.lokalized.LocalizedString
Checks if this object is equal to another one.
equals(Object) - Method in class com.lokalized.LocalizedString.ExpressionAlternative
Checks if this object is equal to another one.
equals(Object) - Method in class com.lokalized.LocalizedString.ExpressionTranslation
Checks if this object is equal to another one.
equals(Object) - Method in class com.lokalized.LocalizedString.LanguageFormTranslation
Checks if this object is equal to another one.
equals(Object) - Method in class com.lokalized.LocalizedString.LanguageFormTranslationRange
Checks if this object is equal to another one.
equals(Object) - Method in class com.lokalized.LocalizedStringLoadingOptions
 
equals(Object) - Method in class com.lokalized.LocalizedStringWarning
 
equals(Object) - Method in class com.lokalized.PluralOperands
Checks if this object is equal to another one.
equals(Object) - Method in class com.lokalized.Range
Checks if this object is equal to another one.
equals(Object) - Method in class com.lokalized.TranslationOptions
Checks if this object is equal to another one.
equals(Object) - Method in class com.lokalized.TranslationRuntimeLimits
 
EXACT - Enum constant in enum com.lokalized.LocaleMatchType
The requested and supported locale tags matched exactly.
exampleDecimalValuesForLocale(Locale) - Static method in enum com.lokalized.Cardinality
Gets a mapping of cardinalities to example decimal values for the given locale.
exampleIntegerValuesForLocale(Locale) - Static method in enum com.lokalized.Cardinality
Gets a mapping of cardinalities to example integer values for the given locale.
exampleIntegerValuesForLocale(Locale) - Static method in enum com.lokalized.Ordinality
Gets a mapping of ordinalities to example integer values for the given locale.
EXCLUSIVE - Enum constant in enum com.lokalized.Clusivity
Exclusive "we/us" (excludes the addressee).
exhaustiveClasspathSearch(Boolean) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Controls whether classpath loading should inspect every filesystem and JAR root visible to the classloader when ordinary package-resource discovery is insufficient.
ExpressionAlternative(String, String) - Constructor for class com.lokalized.LocalizedString.ExpressionAlternative
Constructs an expression-driven fragment alternative.
ExpressionEvaluationException - Exception Class in com.lokalized
Exception which indicates a problem encountered while evaluating a localized string expression.
ExpressionEvaluationException(String) - Constructor for exception class com.lokalized.ExpressionEvaluationException
Constructs a new exception with the specified message.
ExpressionEvaluationException(String, Throwable) - Constructor for exception class com.lokalized.ExpressionEvaluationException
Constructs a new exception with the specified message and cause.
ExpressionTranslation(String) - Constructor for class com.lokalized.LocalizedString.ExpressionTranslation
Constructs a translation-only generated fragment.
ExpressionTranslation(String, List) - Constructor for class com.lokalized.LocalizedString.ExpressionTranslation
Constructs a generated fragment with a default translation and ordered expression-driven alternatives.
EXTENDED_RANGE - Enum constant in enum com.lokalized.LocaleMatchType
The supported locale matched an RFC 4647 extended language range.

F

fallbackOnAnyFailure() - Static method in interface com.lokalized.TranslationFallbackPolicy
Falls back after every failed locale attempt, including runtime resolution failures.
fallbackOnMissingTranslationOrNoMatchingAlternative() - Static method in interface com.lokalized.TranslationFallbackPolicy
Falls back for missing translations and unmatched whole-message alternatives, but stops on resolution failures.
FEMININE - Enum constant in enum com.lokalized.Gender
Feminine gender.
FEW - Enum constant in enum com.lokalized.Cardinality
The form that falls between TWO and MANY.
FEW - Enum constant in enum com.lokalized.Ordinality
The form that falls between TWO and MANY.
FLAT - Enum constant in enum com.lokalized.Classifier
Flat, thin, or sheet-like objects.
forLanguageRanges(List) - Static method in class com.lokalized.TranslationOptions
Gets options which use the specified language ranges for a single lookup.
forLocale(Locale) - Static method in class com.lokalized.TranslationOptions
Gets options which use the specified locale for a single lookup.
FORMAL - Enum constant in enum com.lokalized.Formality
Formal register.
Formality - Enum in com.lokalized
Language formality forms.
forNumber(Number) - Static method in class com.lokalized.PluralOperands
Creates a builder for CLDR plural operands backed by the given number.
forNumber(Number, Integer, Locale) - Static method in enum com.lokalized.Cardinality
Gets an appropriate plural cardinality for the given number, visible decimal places, and locale.
forNumber(Number, Locale) - Static method in enum com.lokalized.Cardinality
Gets an appropriate plural cardinality for the given number and locale.
forNumber(Number, Locale) - Static method in enum com.lokalized.Ordinality
Gets an appropriate plural ordinality for the given number and locale.
forOperands(PluralOperands, Locale) - Static method in enum com.lokalized.Cardinality
Gets an appropriate plural cardinality for the given CLDR plural operands and locale.
forOperands(PluralOperands, Locale) - Static method in enum com.lokalized.Ordinality
Gets an appropriate plural ordinality for the given CLDR plural operands and locale.
forRange(Cardinality, Cardinality, Locale) - Static method in enum com.lokalized.Cardinality
Gets an appropriate plural cardinality for the given range (start, end) and locale.

G

Gender - Enum in com.lokalized
Language gender forms.
GENERAL - Enum constant in enum com.lokalized.Classifier
General-purpose classifier.
GENITIVE - Enum constant in enum com.lokalized.GrammaticalCase
Possessive, source, or partitive-adjacent form.
get(String) - Method in interface com.lokalized.Strings
Gets a localized string for the given key.
get(String, TranslationOptions) - Method in interface com.lokalized.Strings
Gets a localized string for the given key and options.
get(String, Map) - Method in interface com.lokalized.Strings
Gets a localized string for the given key.
get(String, Map, TranslationOptions) - Method in interface com.lokalized.Strings
Gets a localized string for the given key, placeholders, and options.
getAlternatives() - Method in class com.lokalized.LocalizedString.ExpressionTranslation
Gets the ordered expression-driven alternatives.
getAlternatives() - Method in class com.lokalized.LocalizedString
Gets alternative expression-driven translations for this string.
getAttemptedLocales() - Method in exception class com.lokalized.MissingTranslationException
Gets the ordered locales attempted before failure.
getAttemptedLocales() - Method in interface com.lokalized.TranslationFailure
Gets the ordered locales actually attempted for this lookup.
getAttemptedLocales() - Method in class com.lokalized.TranslationResult
Gets the ordered locales actually attempted.
getBidiIsolation() - Method in class com.lokalized.TranslationOptions
Gets the bidirectional isolation override, if configured.
getCause() - Method in interface com.lokalized.TranslationFailure
Gets the runtime cause if an attempted translation existed but could not be resolved.
getCause() - Method in class com.lokalized.TranslationResult
Gets the first runtime resolution cause for a failed lookup.
getCommentary() - Method in class com.lokalized.LocalizedString
Gets this string's commentary (usage/translation notes).
getCompactExponent() - Method in class com.lokalized.PluralOperands
Gets the compact-decimal exponent used for the CLDR c and e operands.
getConsideredLocales() - Method in class com.lokalized.LocaleMatchResult
Gets the ordered supported locales considered by negotiation.
getEffectiveWeight() - Method in class com.lokalized.LocaleMatchResult
Gets the selected locale's effective preference weight after specific-range overrides.
getEnd() - Method in class com.lokalized.LocalizedString.LanguageFormTranslationRange
The end value for this range.
getExpression() - Method in class com.lokalized.LocalizedString.ExpressionAlternative
Gets the localization expression.
getFailureReason() - Method in class com.lokalized.TranslationResult
Gets the final lookup failure reason for handler-produced results.
getFallbackLocale() - Method in class com.lokalized.LocaleMatchResult
Gets the configured fallback that LocaleMatcher.bestMatchFor(List) would use for no match.
getKey() - Method in class com.lokalized.LocalizedString
Gets this string's translation key.
getKey() - Method in class com.lokalized.LocalizedStringWarning
Gets the translation key that triggered the warning, when applicable.
getKey() - Method in exception class com.lokalized.MissingTranslationException
The translation key that triggered this exception.
getKey() - Method in interface com.lokalized.TranslationFailure
Gets the translation key that could not be resolved.
getKey() - Method in class com.lokalized.TranslationResult
Gets the translation key.
getKeysForLocale(Locale) - Method in interface com.lokalized.Strings
Gets the localized string keys supplied for the given locale.
getLanguageRange() - Method in class com.lokalized.LocaleMatchResult
Gets the preference range associated with the selection.
getLanguageRanges() - Method in class com.lokalized.TranslationOptions
Gets the language-range override, if configured.
getLocale() - Method in class com.lokalized.LocaleMatchResult
Gets the selected supported locale.
getLocale() - Method in class com.lokalized.LocalizedStringWarning
Gets the locale the file was being loaded for, when the warning applies to a parsed localized strings file.
getLocale() - Method in class com.lokalized.TranslationOptions
Gets the locale override, if configured.
getLocale() - Method in exception class com.lokalized.UnsupportedLocaleException
The unsupported locale that triggered this exception.
getLocaleMatchResult() - Method in exception class com.lokalized.MissingTranslationException
Gets strict locale-negotiation diagnostics when available.
getLocaleMatchResult() - Method in interface com.lokalized.TranslationFailure
Gets strict locale-negotiation diagnostics when the implementation can provide them.
getLocaleMatchResult() - Method in class com.lokalized.TranslationResult
Gets strict locale-negotiation diagnostics when available.
getLookupLocale() - Method in exception class com.lokalized.MissingTranslationException
The locale used to begin per-key locale fallback.
getLookupLocale() - Method in interface com.lokalized.TranslationFailure
Gets the locale used to begin per-key locale fallback after any language-range negotiation.
getLookupLocale() - Method in class com.lokalized.TranslationResult
Gets the locale used to begin per-key locale fallback after any negotiation.
getMatchType() - Method in class com.lokalized.LocaleMatchResult
Gets the relationship used for the selection.
getMaximumAbsoluteNumberScale() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum absolute decimal scale.
getMaximumCompactExponent() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum compact-decimal exponent.
getMaximumDiscoveryEntries() - Method in class com.lokalized.LocalizedStringLoadingOptions
Gets the maximum number of entries examined while discovering filesystem or classpath resources.
getMaximumExpressionCharacters() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum characters in one whole-message or generated-fragment expression.
getMaximumExpressionNestingDepth() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum nested groups in one whole-message or generated-fragment expression.
getMaximumExpressionTokens() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum tokens in one whole-message or generated-fragment expression.
getMaximumGeneratedExpansionCharacters() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum cumulative expansion across both generated-placeholder kinds per locale fallback attempt.
getMaximumGeneratedPlaceholderDepth() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum generated-placeholder nesting depth across both definition kinds.
getMaximumInputBytes() - Method in class com.lokalized.LocalizedStringLoadingOptions
Gets the maximum bytes accepted from a path or input stream.
getMaximumInterpolatedOutputCharacters() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum UTF-16 code units in one interpolated message, generated fragment, or caller-supplied phonetic input.
getMaximumJsonNestingDepth() - Method in class com.lokalized.LocalizedStringLoadingOptions
Gets the maximum JSON object/array nesting depth.
getMaximumLocalizedStringsFiles() - Method in class com.lokalized.LocalizedStringLoadingOptions
Gets the maximum localized strings files accepted by one load.
getMaximumNumberPrecision() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum decimal precision.
getMaximumReaderCharacters() - Method in class com.lokalized.LocalizedStringLoadingOptions
Gets the maximum UTF-16 code units accepted from a reader.
getMaximumTotalInputBytes() - Method in class com.lokalized.LocalizedStringLoadingOptions
Gets the maximum total bytes accepted by one filesystem, classpath, path, or input-stream load.
getMaximumTranslationNodes() - Method in class com.lokalized.LocalizedStringLoadingOptions
Gets the maximum translation nodes accepted by one load.
getMaximumVisibleDecimalPlaces() - Method in class com.lokalized.TranslationRuntimeLimits
Gets the maximum number of explicitly visible decimal places.
getMaximumWarnings() - Method in class com.lokalized.LocalizedStringLoadingOptions
Gets the maximum warnings emitted by one load.
getMessage() - Method in class com.lokalized.LocalizedStringWarning
Gets a human-readable description of the warning.
getMessage() - Method in interface com.lokalized.TranslationFailure
Gets a concise description of this failure suitable for application logging.
getMissingKeys(Locale, Locale) - Method in interface com.lokalized.Strings
Gets the keys supplied by sourceLocale but missing from targetLocale.
getMissingLanguageForms() - Method in class com.lokalized.LocalizedStringWarning
Gets the missing language-form names, in localized strings file format (e.g.
getNumber() - Method in class com.lokalized.PluralOperands
Gets the absolute numeric value used for the CLDR n operand.
getPlaceholder() - Method in class com.lokalized.LocalizedStringWarning
Gets the placeholder within the key that triggered the warning, when applicable.
getPlaceholderDefinitions() - Method in class com.lokalized.LocalizedString
Gets the generated-placeholder definitions declared by this localized string.
getPlaceholders() - Method in exception class com.lokalized.MissingTranslationException
The placeholders specified for the failed translation attempt.
getPlaceholders() - Method in interface com.lokalized.TranslationFailure
Gets the placeholders supplied by the caller.
getRange() - Method in class com.lokalized.LocalizedString.LanguageFormTranslation
Gets the range for this per-language-form translation set.
getReason() - Method in exception class com.lokalized.MissingTranslationException
Gets the final failure reason.
getReason() - Method in interface com.lokalized.TranslationFailure
Gets the reason the lookup failed.
getRequestedLanguageRanges() - Method in class com.lokalized.LocaleMatchResult
Gets the language ranges supplied for negotiation in caller order.
getResolvedLocale() - Method in class com.lokalized.TranslationResult
Gets the locale that resolved successfully.
getResult(String) - Method in interface com.lokalized.Strings
Resolves a localized string and returns diagnostic information about the lookup.
getResult(String, TranslationOptions) - Method in interface com.lokalized.Strings
Resolves a localized string with per-invocation options and returns diagnostic information.
getResult(String, Map) - Method in interface com.lokalized.Strings
Resolves a localized string with placeholders and returns diagnostic information.
getResult(String, Map, TranslationOptions) - Method in interface com.lokalized.Strings
Resolves a localized string with placeholders and options and returns diagnostic information.
getSource() - Method in class com.lokalized.LocalizedStringWarning
Gets the file path or URL that was being loaded.
getStart() - Method in class com.lokalized.LocalizedString.LanguageFormTranslationRange
The start value for this range.
getStatus() - Method in class com.lokalized.TranslationResult
Gets how the returned string was produced.
getSupportedLocales() - Method in interface com.lokalized.Strings
Gets the locales for which localized strings were supplied.
getSupportedLocaleTags() - Static method in enum com.lokalized.Cardinality
Gets the BCP 47 locale tags represented directly in the generated CLDR cardinality-rule data.
getSupportedLocaleTags() - Static method in enum com.lokalized.Ordinality
Gets the BCP 47 locale tags represented directly in the generated CLDR plural-rule data and supported for ordinality operations.
getTranslation() - Method in class com.lokalized.LocalizedString.ExpressionAlternative
Gets the fragment translation selected when this expression matches.
getTranslation() - Method in class com.lokalized.LocalizedString.ExpressionTranslation
Gets the default fragment translation.
getTranslation() - Method in class com.lokalized.LocalizedString
Gets this string's default translation, if available.
getTranslation() - Method in class com.lokalized.TranslationResult
Gets the returned translation, key, or handler-supplied string.
getTranslationFailureHandler() - Method in class com.lokalized.TranslationOptions
Gets the translation failure handler override, if configured.
getTranslationFallbackPolicy() - Method in class com.lokalized.TranslationOptions
Gets the locale-fallback policy override, if configured.
getTranslationsByLanguageForm() - Method in class com.lokalized.LocalizedString.LanguageFormTranslation
Gets the translations by language form for this per-language-form translation set.
getType() - Method in class com.lokalized.LocalizedStringWarning
Gets the kind of problem this warning represents.
getValue() - Method in class com.lokalized.LocalizedString.LanguageFormTranslation
Gets the value for this per-language-form translation set.
getValues() - Method in class com.lokalized.Range
Gets the ordered values that comprise this range.
GLIDE_W - Enum constant in enum com.lokalized.Phonetic
Word begins with W functioning as a consonantal glide /w/.
GLIDE_Y - Enum constant in enum com.lokalized.Phonetic
Word begins with Y functioning as a consonantal glide /j/.
GN - Enum constant in enum com.lokalized.Phonetic
Word begins with the palatal nasal cluster GN.
GrammaticalCase - Enum in com.lokalized
Grammatical case forms.

H

H_ASPIRATED - Enum constant in enum com.lokalized.Phonetic
Word begins with an aspirated (pronounced) H.
H_SILENT - Enum constant in enum com.lokalized.Phonetic
Word begins with a silent H, making it phonetically vowel-initial.
handle(LocalizedStringWarning) - Method in interface com.lokalized.LocalizedStringWarningHandler
Handles a localized strings validation warning.
handle(TranslationFailure) - Method in interface com.lokalized.TranslationFailureHandler
Handles a failed localized string lookup.
hashCode() - Method in class com.lokalized.LocaleMatchResult
 
hashCode() - Method in class com.lokalized.LocalizedString.ExpressionAlternative
A hash code for this object.
hashCode() - Method in class com.lokalized.LocalizedString.ExpressionTranslation
A hash code for this object.
hashCode() - Method in class com.lokalized.LocalizedString
A hash code for this object.
hashCode() - Method in class com.lokalized.LocalizedString.LanguageFormTranslation
A hash code for this object.
hashCode() - Method in class com.lokalized.LocalizedString.LanguageFormTranslationRange
A hash code for this object.
hashCode() - Method in class com.lokalized.LocalizedStringLoadingOptions
 
hashCode() - Method in class com.lokalized.LocalizedStringWarning
 
hashCode() - Method in class com.lokalized.PluralOperands
A hash code for this object.
hashCode() - Method in class com.lokalized.Range
A hash code for this object.
hashCode() - Method in class com.lokalized.TranslationOptions
A hash code for this object.
hashCode() - Method in class com.lokalized.TranslationRuntimeLimits
 
HONORIFIC - Enum constant in enum com.lokalized.Formality
Honorific register.
HUMBLE - Enum constant in enum com.lokalized.Formality
Humble register.

I

ignore() - Static method in interface com.lokalized.LocalizedStringWarningHandler
Returns a handler that silently ignores every warning and allows loading to continue.
INANIMATE - Enum constant in enum com.lokalized.Animacy
Inanimate.
INCLUSIVE - Enum constant in enum com.lokalized.Clusivity
Inclusive "we/us" (includes the addressee).
INCOMPLETE_CARDINALITY_TRANSLATIONS - Enum constant in enum com.lokalized.LocalizedStringWarning.Type
A cardinality-driven placeholder omits one or more cardinal forms that its locale requires per CLDR.
INCOMPLETE_ORDINALITY_TRANSLATIONS - Enum constant in enum com.lokalized.LocalizedStringWarning.Type
An ordinality-driven placeholder omits one or more ordinal forms that its locale requires per CLDR.
INDEFINITE - Enum constant in enum com.lokalized.Definiteness
Indefinite form, such as "a book".
INFORMAL - Enum constant in enum com.lokalized.Formality
Informal register.
INSTRUMENTAL - Enum constant in enum com.lokalized.GrammaticalCase
Instrument or accompaniment form.
INVALID_CLASSPATH_LOCALE_FILENAME - Enum constant in enum com.lokalized.LocalizedStringWarning.Type
A JSON resource in a classpath localized strings package is not named with a valid IETF BCP 47 locale tag.
isExhaustiveClasspathSearchEnabled() - Method in class com.lokalized.LocalizedStringLoadingOptions
Reports whether classpath loading should inspect every filesystem and JAR root visible to the classloader after ordinary package-resource discovery.
isFallback() - Method in class com.lokalized.TranslationResult
Reports whether negotiation or per-key resolution used a fallback.
isInfinite() - Method in class com.lokalized.Range
Gets whether this range is infinite.
isMatch() - Method in class com.lokalized.LocaleMatchResult
Reports whether negotiation selected an acceptable supported locale.
iterator() - Method in class com.lokalized.Range
Returns an iterator over the values in this range in proper sequence.

L

LanguageForm - Interface in com.lokalized
Closed marker interface which signifies a Lokalized-defined language construct (genders, grammatical cases, definiteness, classifiers, animacy, clusivity, formality, cardinalities, ordinalities, phonetics).
LanguageFormTranslation(LocalizedString.LanguageFormTranslationRange, Map) - Constructor for class com.lokalized.LocalizedString.LanguageFormTranslation
Constructs a per-language-form translation set with the given placeholder range and mapping of translations by language form.
LanguageFormTranslation(String, Map) - Constructor for class com.lokalized.LocalizedString.LanguageFormTranslation
Constructs a per-language-form translation set with the given placeholder value and mapping of translations by language form.
LanguageFormTranslationRange(String, String) - Constructor for class com.lokalized.LocalizedString.LanguageFormTranslationRange
Constructs a translation range with the given start and end values.
languageRanges(List) - Method in class com.lokalized.TranslationOptions.Builder
Applies a language-range override.
LIKELY_SUBTAG - Enum constant in enum com.lokalized.LocaleMatchType
The requested and supported locales matched after likely-subtag expansion.
loadFromClasspath(ClassLoader, String) - Static method in class com.lokalized.LocalizedStringLoader
Loads all localized strings files present in the specified package using the specified classloader.
loadFromClasspath(ClassLoader, String, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads localized strings files using the specified classloader and loading/discovery options.
loadFromClasspath(ClassLoader, String, LocalizedStringWarningHandler) - Static method in class com.lokalized.LocalizedStringLoader
Loads all localized strings files present in the specified package using the specified classloader, routing validation warnings to the given handler.
loadFromClasspath(ClassLoader, String, LocalizedStringWarningHandler, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads localized strings files using the specified classloader, validation-warning policy, and loading/discovery options.
loadFromClasspath(String) - Static method in class com.lokalized.LocalizedStringLoader
Loads all localized strings files present in the specified package on the classpath.
loadFromClasspath(String, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads localized strings files from a classpath package using the specified loading and discovery options.
loadFromClasspath(String, LocalizedStringWarningHandler) - Static method in class com.lokalized.LocalizedStringLoader
Loads all localized strings files present in the specified package, routing validation warnings to the given handler.
loadFromClasspath(String, LocalizedStringWarningHandler, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads localized strings files from a classpath package with validation-warning, loading, and discovery policies.
loadFromClasspathResources(ClassLoader, Map) - Static method in class com.lokalized.LocalizedStringLoader
Loads explicitly mapped classpath resources using ClassLoader.getResourceAsStream(String).
loadFromClasspathResources(ClassLoader, Map, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads explicitly mapped classpath resources with loading limits.
loadFromClasspathResources(ClassLoader, Map, LocalizedStringWarningHandler) - Static method in class com.lokalized.LocalizedStringLoader
Loads explicitly mapped classpath resources with a validation-warning policy.
loadFromClasspathResources(ClassLoader, Map, LocalizedStringWarningHandler, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads explicitly mapped classpath resources with validation-warning and aggregate loading-limit policies.
loadFromClasspathResources(Map) - Static method in class com.lokalized.LocalizedStringLoader
Loads explicitly mapped resources from the current thread context classloader using ClassLoader.getResourceAsStream(String).
loadFromClasspathResources(Map, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads explicitly mapped resources from the current thread context classloader with loading limits.
loadFromClasspathResources(Map, LocalizedStringWarningHandler) - Static method in class com.lokalized.LocalizedStringLoader
Loads explicitly mapped resources from the current thread context classloader with a validation-warning policy.
loadFromClasspathResources(Map, LocalizedStringWarningHandler, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads explicitly mapped resources from the current thread context classloader with warning and loading policies.
loadFromFilesystem(Path) - Static method in class com.lokalized.LocalizedStringLoader
Loads all localized strings files present in the specified directory.
loadFromFilesystem(Path, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads localized strings files from a directory using the specified resource limits.
loadFromFilesystem(Path, LocalizedStringWarningHandler) - Static method in class com.lokalized.LocalizedStringLoader
Loads all localized strings files present in the specified directory, routing validation warnings to the given handler.
loadFromFilesystem(Path, LocalizedStringWarningHandler, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Loads localized strings files from a directory with validation-warning and resource-limit policies.
locale(Locale) - Method in class com.lokalized.TranslationOptions.Builder
Applies a locale override.
LocaleMatcher - Interface in com.lokalized
Contract for matching an input Locale or List<Locale.LanguageRange> to an appropriate localized strings Locale.
LocaleMatchResult - Class in com.lokalized
Strict, immutable diagnostic result for locale negotiation.
LocaleMatchResult(List, Locale, Locale.LanguageRange, Double, LocaleMatchType, Locale, List) - Constructor for class com.lokalized.LocaleMatchResult
Constructs a locale match result.
localeMatchSupplier(Function) - Method in class com.lokalized.Strings.Builder
Applies a locale-negotiation-result supplier to this builder.
LocaleMatchType - Enum in com.lokalized
Describes the relationship used to select a locale.
localeSupplier(Function) - Method in class com.lokalized.Strings.Builder
Applies a locale supplier to this builder.
LocalizedString - Class in com.lokalized
Represents a single localized string - its key, translated value, and any associated translation rules.
LocalizedString.Builder - Class in com.lokalized
Builder used to construct instances of LocalizedString.
LocalizedString.ExpressionAlternative - Class in com.lokalized
An expression and the generated fragment translation selected when that expression matches.
LocalizedString.ExpressionTranslation - Class in com.lokalized
A generated fragment with a required default translation and optional ordered expression-driven alternatives.
LocalizedString.LanguageFormTranslation - Class in com.lokalized
Container for per-language-form (gender, case, definiteness, classifier, formality, clusivity, animacy, cardinal, ordinal, phonetic) translation information.
LocalizedString.LanguageFormTranslationRange - Class in com.lokalized
Container for per-language-form cardinality translation information over a range (start, end) of values.
LocalizedString.PlaceholderDefinition - Class in com.lokalized
Closed base type for generated-placeholder definitions.
LocalizedStringLoader - Class in com.lokalized
Utility methods for loading localized strings files.
LocalizedStringLoadingException - Exception Class in com.lokalized
Exception which indicates a problem encountered while processing a localized strings file.
LocalizedStringLoadingException(String) - Constructor for exception class com.lokalized.LocalizedStringLoadingException
Constructs a new exception with the specified message.
LocalizedStringLoadingException(String, Throwable) - Constructor for exception class com.lokalized.LocalizedStringLoadingException
Constructs a new exception with the specified message and cause.
LocalizedStringLoadingOptions - Class in com.lokalized
Options applied while discovering and loading localized strings files.
LocalizedStringLoadingOptions.Builder - Class in com.lokalized
localizedStringSupplier(Supplier) - Method in class com.lokalized.Strings.Builder
Applies a localized string supplier to this builder.
LocalizedStringWarning - Class in com.lokalized
Describes a non-fatal validation problem detected while loading a localized strings file.
LocalizedStringWarning.Type - Enum in com.lokalized
The kind of problem a LocalizedStringWarning represents.
LocalizedStringWarningHandler - Interface in com.lokalized
Decides how Lokalized should respond to a non-fatal validation problem detected while loading a localized strings file.
LOCATIVE - Enum constant in enum com.lokalized.GrammaticalCase
Location or place form.
LONG_THIN - Enum constant in enum com.lokalized.Classifier
Long, thin, or cylindrical objects.
LUNAR - Enum constant in enum com.lokalized.Phonetic
Arabic moon letter (الحروف القمرية).

M

MACHINE - Enum constant in enum com.lokalized.Classifier
Machines, devices, or large pieces of equipment.
MANY - Enum constant in enum com.lokalized.Cardinality
The form that falls between FEW and OTHER.
MANY - Enum constant in enum com.lokalized.Ordinality
The form that falls between FEW and OTHER.
MASCULINE - Enum constant in enum com.lokalized.Gender
Masculine gender.
matchFor(List) - Method in interface com.lokalized.LocaleMatcher
Strictly negotiates language ranges without manufacturing a configured-fallback match.
matchFor(Locale) - Method in interface com.lokalized.LocaleMatcher
Strictly negotiates a locale without manufacturing a configured-fallback match.
MAXIMUM_ABSOLUTE_NUMBER_SCALE - Static variable in class com.lokalized.PluralOperands
Hard ceiling for the absolute BigDecimal.scale() accepted for a number used in plural operands or an alternative-expression numeric literal: 4,096.
MAXIMUM_ABSOLUTE_NUMBER_SCALE - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for the absolute value of a decimal scale: 4,096.
MAXIMUM_COMPACT_EXPONENT - Static variable in class com.lokalized.PluralOperands
Hard ceiling for compact-decimal exponents accepted by PluralOperands.Builder.compactExponent(Integer): 4,096.
MAXIMUM_COMPACT_EXPONENT - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for compact-decimal exponents: 4,096.
MAXIMUM_DISCOVERY_ENTRIES - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Highest configurable discovery-entry limit supported by the loader: 1,000,000.
MAXIMUM_EXPRESSION_CHARACTERS - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for characters in one whole-message or generated-fragment expression: 4,096.
MAXIMUM_EXPRESSION_NESTING_DEPTH - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for nested groups in one whole-message or generated-fragment expression: 64.
MAXIMUM_EXPRESSION_TOKENS - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for tokens in one whole-message or generated-fragment expression: 512.
MAXIMUM_GENERATED_EXPANSION_CHARACTERS - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for cumulative expansion across both generated-placeholder kinds: 8,388,608 UTF-16 code units per locale fallback attempt.
MAXIMUM_GENERATED_PLACEHOLDER_DEPTH - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for nested generated placeholders across both definition kinds: 64.
MAXIMUM_INTERPOLATED_OUTPUT_CHARACTERS - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for one interpolated message, generated fragment, or phonetic input: 1,048,576 UTF-16 code units.
MAXIMUM_JSON_NESTING_DEPTH - Static variable in class com.lokalized.LocalizedStringLoadingOptions
Highest configurable JSON nesting depth supported by the loader: 128.
MAXIMUM_LANGUAGE_RANGES - Static variable in interface com.lokalized.LocaleMatcher
Maximum number of parsed language ranges accepted by one matching operation: 32.
MAXIMUM_NUMBER_PRECISION - Static variable in class com.lokalized.PluralOperands
Hard precision ceiling for a number used in plural operands or an alternative-expression numeric literal: 4,096.
MAXIMUM_NUMBER_PRECISION - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for decimal precision: 4,096.
MAXIMUM_VISIBLE_DECIMAL_PLACES - Static variable in class com.lokalized.PluralOperands
Hard ceiling for explicitly visible decimal places accepted by PluralOperands.Builder.visibleDecimalPlaces(Integer): 4,096.
MAXIMUM_VISIBLE_DECIMAL_PLACES - Static variable in class com.lokalized.TranslationRuntimeLimits
Hard ceiling for explicitly visible decimal places: 4,096.
maximumAbsoluteNumberScale(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the absolute decimal-scale limit.
maximumCompactExponent(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the compact-decimal-exponent limit.
maximumDiscoveryEntries(Integer) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Sets the maximum number of entries examined while discovering filesystem or classpath resources.
maximumExpressionCharacters(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the source-length limit for each whole-message or generated-fragment expression.
maximumExpressionNestingDepth(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the nested-group limit for each whole-message or generated-fragment expression.
maximumExpressionTokens(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the token-count limit for each whole-message or generated-fragment expression.
maximumGeneratedExpansionCharacters(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the cumulative UTF-16 code-unit budget shared by language-form and expression-selected generated fragments in one locale fallback attempt.
maximumGeneratedPlaceholderDepth(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the generated-placeholder nesting limit shared by language-form and expression-selected fragments.
maximumInputBytes(Integer) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Sets the maximum bytes accepted from a path or input stream.
maximumInterpolatedOutputCharacters(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the maximum UTF-16 code-unit count for one interpolated message, generated fragment, or caller-supplied phonetic input.
maximumJsonNestingDepth(Integer) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Sets the maximum JSON object/array nesting depth.
maximumLocalizedStringsFiles(Integer) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Sets the maximum localized strings files accepted by one load.
maximumNumberPrecision(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the decimal-precision limit.
maximumReaderCharacters(Integer) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Sets the maximum UTF-16 code units accepted from a reader.
maximumTotalInputBytes(Long) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Sets the maximum total bytes accepted by one filesystem, classpath, path, or input-stream load.
maximumTranslationNodes(Integer) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Sets the maximum translation nodes accepted by one load.
maximumVisibleDecimalPlaces(Integer) - Method in class com.lokalized.TranslationRuntimeLimits.Builder
Sets the explicitly visible-decimal-place limit.
maximumWarnings(Integer) - Method in class com.lokalized.LocalizedStringLoadingOptions.Builder
Sets the maximum warnings emitted by one load.
MISSING_TRANSLATION - Enum constant in enum com.lokalized.TranslationFailureReason
No attempted candidate locale contained the requested key.
MissingTranslationException - Exception Class in com.lokalized
Exception thrown when no translation is found and the configured TranslationFailureHandler chooses to throw.
MissingTranslationException(String, String, Map, Locale) - Constructor for exception class com.lokalized.MissingTranslationException
Constructs a new missing-translation exception.
MissingTranslationException(String, String, Map, Locale, TranslationFailureReason, List) - Constructor for exception class com.lokalized.MissingTranslationException
Constructs an exception with the complete failed-lookup outcome.
MissingTranslationException(String, String, Map, Locale, LocaleMatchResult, TranslationFailureReason, List) - Constructor for exception class com.lokalized.MissingTranslationException
Constructs an exception with complete failed-lookup and locale-negotiation diagnostics.

N

NEUTER - Enum constant in enum com.lokalized.Gender
Neutral/unspecified gender.
neverFallback() - Static method in interface com.lokalized.TranslationFallbackPolicy
Never falls back after a locale attempt fails.
NO_MATCHING_ALTERNATIVE - Enum constant in enum com.lokalized.TranslationFailureReason
An attempted candidate locale contained the requested key, but no whole-message alternative matched and no default translation was provided.
NOMINATIVE - Enum constant in enum com.lokalized.GrammaticalCase
Citation or subject form.
none() - Static method in class com.lokalized.TranslationOptions
Gets options which do not override any Strings instance defaults.
NONE - Enum constant in enum com.lokalized.BidiIsolation
Do not add bidirectional isolate controls.
NONE - Enum constant in enum com.lokalized.LocaleMatchType
No acceptable supported locale was found.

O

ofFiniteValues(T...) - Static method in class com.lokalized.Range
Provides a finite range for the given values.
ofFiniteValues(Collection) - Static method in class com.lokalized.Range
Provides a finite range for the given values.
ofInfiniteValues(T...) - Static method in class com.lokalized.Range
Provides an infinite range for the given values.
ofInfiniteValues(Collection) - Static method in class com.lokalized.Range
Provides an infinite range for the given values.
ONE - Enum constant in enum com.lokalized.Cardinality
The form used with 1.
ONE - Enum constant in enum com.lokalized.Ordinality
The form used with 1.
Ordinality - Enum in com.lokalized
Language plural ordinality forms.
OTHER - Enum constant in enum com.lokalized.Cardinality
General "catchall" form which comprises any cases not handled by the other forms.
OTHER - Enum constant in enum com.lokalized.Ordinality
General "catchall" form which comprises any cases not handled by the other forms.
OTHER - Enum constant in enum com.lokalized.Phonetic
Fallback category for edge cases not covered by other values.

P

parse(InputStream, Locale, String) - Static method in class com.lokalized.LocalizedStringLoader
Parses one UTF-8 localized strings resource for the given locale.
parse(InputStream, Locale, String, LocalizedStringWarningHandler, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Parses one UTF-8 localized strings resource with validation-warning and resource-limit policies.
parse(Reader, Locale, String) - Static method in class com.lokalized.LocalizedStringLoader
Parses one localized strings character resource for the given locale.
parse(Reader, Locale, String, LocalizedStringWarningHandler, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Parses one localized strings character resource with validation-warning and resource-limit policies.
parse(Path, Locale) - Static method in class com.lokalized.LocalizedStringLoader
Parses one localized strings file for the given locale.
parse(Path, Locale, LocalizedStringWarningHandler, LocalizedStringLoadingOptions) - Static method in class com.lokalized.LocalizedStringLoader
Parses one localized strings file with validation-warning and resource-limit policies.
PERSON - Enum constant in enum com.lokalized.Classifier
People or human referents.
Phonetic - Enum in com.lokalized
Represents the phonetic onset category of a word, used to select context-appropriate word forms in localized strings.
phoneticResolver(PhoneticResolver) - Method in class com.lokalized.Strings.Builder
Applies a phonetic resolver to this builder.
PhoneticResolver - Interface in com.lokalized
Resolves Phonetic categories for terms at runtime.
placeholderDefinitions(Map) - Method in class com.lokalized.LocalizedString.Builder
Applies generated-placeholder definitions to this builder.
PluralOperands - Class in com.lokalized
Unicode CLDR plural operands for cardinality and ordinality evaluation.
PluralOperands.Builder - Class in com.lokalized
Builder for PluralOperands.
PN - Enum constant in enum com.lokalized.Phonetic
Word begins with the PN cluster.
PREPOSITIONAL - Enum constant in enum com.lokalized.GrammaticalCase
Preposition-governed form used in languages such as Russian.
PRIMARY_LANGUAGE - Enum constant in enum com.lokalized.LocaleMatchType
The requested and supported locales matched by primary language.
PS - Enum constant in enum com.lokalized.Phonetic
Word begins with the PS cluster.

R

Range<T> - Class in com.lokalized
Represents a structurally immutable, ordered range of values.
RESOLUTION_FAILURE - Enum constant in enum com.lokalized.TranslationFailureReason
A candidate translation existed, but placeholder, expression, interpolation, or language-form resolution failed.
resolve(String, Locale) - Method in interface com.lokalized.PhoneticResolver
Determines the phonetic category for a term.
RETURNED_KEY - Enum constant in enum com.lokalized.TranslationResultStatus
The failure handler requested the interpolated lookup key.
RETURNED_STRING - Enum constant in enum com.lokalized.TranslationResultStatus
The failure handler supplied a replacement string.
returnKey() - Static method in interface com.lokalized.TranslationFailureHandler
Returns the lookup key itself after interpolating supplied placeholders into it.
returnKey() - Static method in class com.lokalized.TranslationFailureResponse
Returns the lookup key itself after interpolating supplied placeholders into it.
returnKey(Consumer) - Static method in interface com.lokalized.TranslationFailureHandler
Notifies an observer about each failed lookup and then returns the lookup key itself after interpolating supplied placeholders into it.
returnString(String) - Static method in class com.lokalized.TranslationFailureResponse
Returns a caller-specified string.
RTL_LOCALES - Enum constant in enum com.lokalized.BidiIsolation
In right-to-left resolved locales, wrap caller-supplied placeholder values with First Strong Isolate (U+2068) and Pop Directional Isolate (U+2069).
runtimeLimits(TranslationRuntimeLimits) - Method in class com.lokalized.PluralOperands.Builder
Applies safety limits to operand construction.
runtimeLimits(TranslationRuntimeLimits) - Method in class com.lokalized.Strings.Builder
Applies safety limits to localized strings construction and translation evaluation.

S

S_IMPURE - Enum constant in enum com.lokalized.Phonetic
Word begins with s + consonant cluster (s impura).
shouldTryNextLocale(TranslationFailureReason, Locale, Throwable) - Method in interface com.lokalized.TranslationFallbackPolicy
Determines whether resolution should continue with the next locale candidate.
SOLAR - Enum constant in enum com.lokalized.Phonetic
Arabic sun letter (الحروف الشمسية).
STRESSED_A - Enum constant in enum com.lokalized.Phonetic
Word begins with a stressed A or HA sound.
Strings - Interface in com.lokalized
Contract for localized string providers - given a key and optional caller-supplied placeholders, return a localized string.
Strings.Builder - Class in com.lokalized
Builder used to construct Strings instances.
supportedCardinalitiesForLocale(Locale) - Static method in enum com.lokalized.Cardinality
Gets the set of cardinalities supported for the given locale.
supportedOrdinalitiesForLocale(Locale) - Static method in enum com.lokalized.Ordinality
Gets the set of ordinalities supported for the given locale.

T

throwException() - Static method in interface com.lokalized.LocalizedStringWarningHandler
Returns a handler that turns every warning into a fatal LocalizedStringLoadingException, aborting the load.
throwException() - Static method in interface com.lokalized.TranslationFailureHandler
Throws an exception for failed lookups.
throwException() - Static method in class com.lokalized.TranslationFailureResponse
Throws an exception for the failed lookup.
tiebreakerLocalesByLanguageCode(Map) - Method in class com.lokalized.Strings.Builder
Applies a mapping of a well-formed IETF BCP 47 primary language subtag to its ordered "tiebreaker" fallback locales to this builder.
toBuilder() - Method in class com.lokalized.LocalizedStringLoadingOptions
Creates a builder initialized from this instance.
toBuilder() - Method in class com.lokalized.TranslationOptions
Creates a builder initialized with this instance's values.
toBuilder() - Method in class com.lokalized.TranslationRuntimeLimits
Creates a builder initialized from this instance.
toString() - Method in class com.lokalized.LocaleMatchResult
 
toString() - Method in class com.lokalized.LocalizedString.ExpressionAlternative
Generates a String representation of this object.
toString() - Method in class com.lokalized.LocalizedString.ExpressionTranslation
Generates a String representation of this object.
toString() - Method in class com.lokalized.LocalizedString.LanguageFormTranslation
Generates a String representation of this object.
toString() - Method in class com.lokalized.LocalizedString.LanguageFormTranslationRange
Generates a String representation of this object.
toString() - Method in class com.lokalized.LocalizedString
Generates a bounded diagnostic String representation of this object.
toString() - Method in class com.lokalized.LocalizedStringLoadingOptions
 
toString() - Method in class com.lokalized.LocalizedStringWarning
 
toString() - Method in class com.lokalized.PluralOperands
Generates a String representation of this object.
toString() - Method in class com.lokalized.Range
Generates a String representation of this object.
toString() - Method in class com.lokalized.TranslationOptions
Generates a String representation of this object.
toString() - Method in class com.lokalized.TranslationResult
Generates a diagnostic representation without rendering translation contents or throwable messages.
toString() - Method in class com.lokalized.TranslationRuntimeLimits
 
TRANSLATED - Enum constant in enum com.lokalized.TranslationResultStatus
A localized string resolved successfully.
translation(String) - Method in class com.lokalized.LocalizedString.Builder
Applies a default translation to this builder.
TranslationFailure - Interface in com.lokalized
Describes a failed localized string lookup.
translationFailureHandler(TranslationFailureHandler) - Method in class com.lokalized.Strings.Builder
Applies a translation failure handler to this builder.
translationFailureHandler(TranslationFailureHandler) - Method in class com.lokalized.TranslationOptions.Builder
Applies a translation failure handler override.
TranslationFailureHandler - Interface in com.lokalized
Decides how Lokalized should respond when a localized string lookup fails after the configured TranslationFallbackPolicy stops fallback or all locale candidates are exhausted.
TranslationFailureReason - Enum in com.lokalized
Reasons a localized string lookup can fail.
TranslationFailureResponse - Class in com.lokalized
Response returned by a TranslationFailureHandler.
translationFallbackPolicy(TranslationFallbackPolicy) - Method in class com.lokalized.Strings.Builder
Applies the policy that decides whether failed locale attempts continue to fallback candidates.
translationFallbackPolicy(TranslationFallbackPolicy) - Method in class com.lokalized.TranslationOptions.Builder
Applies a locale-fallback policy override for this lookup.
TranslationFallbackPolicy - Interface in com.lokalized
Decides whether a failed locale attempt should continue to the next locale candidate.
TranslationOptions - Class in com.lokalized
Per-invocation options for localized string lookup.
TranslationOptions.Builder - Class in com.lokalized
Builder used to construct TranslationOptions instances.
TranslationResult - Class in com.lokalized
Diagnostic result for a translation lookup.
TranslationResult(String, String, Locale, LocaleMatchResult, Locale, List, TranslationResultStatus, TranslationFailureReason, Throwable) - Constructor for class com.lokalized.TranslationResult
Constructs a translation result with locale-negotiation diagnostics.
TranslationResult(String, String, Locale, Locale, List, TranslationResultStatus, TranslationFailureReason, Throwable) - Constructor for class com.lokalized.TranslationResult
Constructs a translation result.
TranslationResultStatus - Enum in com.lokalized
Describes how a TranslationResult produced its returned string.
TranslationRuntimeLimits - Class in com.lokalized
Immutable safety limits for translation construction and evaluation.
TranslationRuntimeLimits.Builder - Class in com.lokalized
TWO - Enum constant in enum com.lokalized.Cardinality
Normally the form used with 2, if it is limited to numbers whose integer values end with 2.
TWO - Enum constant in enum com.lokalized.Ordinality
Normally the form used with 2, if it is limited to numbers whose integer values end with 2.

U

UnsupportedLocaleException - Exception Class in com.lokalized
Exception thrown when an operation was performed on a locale that is not recognized by the system.
UnsupportedLocaleException(Locale) - Constructor for exception class com.lokalized.UnsupportedLocaleException
Constructs a new exception with the unsupported locale.

V

valueOf(String) - Static method in enum com.lokalized.Animacy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.BidiIsolation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.Cardinality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.Classifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.Clusivity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.Definiteness
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.Formality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.Gender
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.GrammaticalCase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.LocaleMatchType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.LocalizedStringWarning.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.Ordinality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.Phonetic
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.TranslationFailureReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.lokalized.TranslationResultStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.lokalized.Animacy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.BidiIsolation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.Cardinality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.Classifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.Clusivity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.Definiteness
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.Formality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.Gender
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.GrammaticalCase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.LocaleMatchType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.LocalizedStringWarning.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.Ordinality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.Phonetic
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.TranslationFailureReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.lokalized.TranslationResultStatus
Returns an array containing the constants of this enum type, in the order they are declared.
VEHICLE - Enum constant in enum com.lokalized.Classifier
Vehicles.
visibleDecimalPlaces(Integer) - Method in class com.lokalized.PluralOperands.Builder
Specifies the number of decimal places that will be visible to the user.
VOCATIVE - Enum constant in enum com.lokalized.GrammaticalCase
Direct address form.
VOWEL - Enum constant in enum com.lokalized.Phonetic
Word begins with a vowel sound.

W

WILDCARD - Enum constant in enum com.lokalized.LocaleMatchType
The supported locale was selected by an acceptable wildcard range.
withFallbackLocale(Locale) - Static method in interface com.lokalized.Strings
Vends a Strings instance builder for the specified fallback locale.

X

X - Enum constant in enum com.lokalized.Phonetic
Word begins with X (/ks/ sound).

Z

Z - Enum constant in enum com.lokalized.Phonetic
Word begins with Z sound or affricates /ts/, /dz/.
ZERO - Enum constant in enum com.lokalized.Cardinality
Normally the form used with 0, if it is limited to numbers whose integer values end with 0.
ZERO - Enum constant in enum com.lokalized.Ordinality
Normally the form used with 0, if it is limited to numbers whose integer values end with 0.
A B C D E F G H I L M N O P R S T U V W X Z 
All Classes and Interfaces|All Packages|Serialized Form