LocaleMatcher.Builder |
LocaleMatcher.Builder.addSupportedLocale(java.util.Locale locale) |
Adds another supported locale.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.addSupportedULocale(ULocale locale) |
Adds another supported locale.
|
static LocaleMatcher.Builder |
LocaleMatcher.builder() |
Returns a builder used in chaining parameters for building a LocaleMatcher.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.internalSetThresholdDistance(int thresholdDistance) |
Deprecated.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setDefaultLocale(java.util.Locale defaultLocale) |
Sets the default locale; if null, or if it is not set explicitly,
then the first supported locale is used as the default locale.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setDefaultULocale(ULocale defaultLocale) |
Sets the default locale; if null, or if it is not set explicitly,
then the first supported locale is used as the default locale.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setDemotionPerDesiredLocale(LocaleMatcher.Demotion demotion) |
Option for whether all desired locales are treated equally or
earlier ones are preferred (this is the default).
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setFavorSubtag(LocaleMatcher.FavorSubtag subtag) |
If SCRIPT, then the language differences are smaller than script differences.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setSupportedLocales(java.lang.String locales) |
Parses the string like LocalePriorityList does and
sets the supported locales accordingly.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setSupportedLocales(java.util.Collection<java.util.Locale> locales) |
Copies the supported locales, preserving iteration order.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setSupportedULocales(java.util.Collection<ULocale> locales) |
Copies the supported locales, preserving iteration order.
|