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.setDirection(LocaleMatcher.Direction direction) |
Option for whether to include or ignore one-way (fallback) match data.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setFavorSubtag(LocaleMatcher.FavorSubtag subtag) |
If SCRIPT, then the language differences are smaller than script differences.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setMaxDistance(ULocale desired,
ULocale supported) |
Sets the maximum distance for an acceptable match.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setMaxDistance(java.util.Locale desired,
java.util.Locale supported) |
Sets the maximum distance for an acceptable match.
|
LocaleMatcher.Builder |
LocaleMatcher.Builder.setNoDefaultLocale() |
Sets no default locale.
|
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.
|