Uses of Class
com.ibm.icu.util.LocaleMatcher.Builder
Packages that use LocaleMatcher.Builder
-
Uses of LocaleMatcher.Builder in com.ibm.icu.util
Methods in com.ibm.icu.util that return LocaleMatcher.BuilderModifier and TypeMethodDescriptionLocaleMatcher.Builder.addSupportedLocale(Locale locale) Adds another supported locale.LocaleMatcher.Builder.addSupportedULocale(ULocale locale) Adds another supported locale.static LocaleMatcher.BuilderLocaleMatcher.builder()Returns a builder used in chaining parameters for building a LocaleMatcher.LocaleMatcher.Builder.internalSetThresholdDistance(int thresholdDistance) Deprecated.This API is ICU internal only.LocaleMatcher.Builder.setDefaultLocale(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.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.setDemotionPerDesiredLocale(LocaleMatcher.Demotion demotion) Option for whether all desired locales are treated equally or earlier ones are preferred (this is the default).LocaleMatcher.Builder.setDirection(LocaleMatcher.Direction direction) Option for whether to include or ignore one-way (fallback) match data.LocaleMatcher.Builder.setFavorSubtag(LocaleMatcher.FavorSubtag subtag) If SCRIPT, then the language differences are smaller than script differences.LocaleMatcher.Builder.setMaxDistance(ULocale desired, ULocale supported) Sets the maximum distance for an acceptable match.LocaleMatcher.Builder.setMaxDistance(Locale desired, Locale supported) Sets the maximum distance for an acceptable match.LocaleMatcher.Builder.setNoDefaultLocale()Sets no default locale.LocaleMatcher.Builder.setSupportedLocales(String locales) Parses the string likeLocalePriorityListdoes and sets the supported locales accordingly.LocaleMatcher.Builder.setSupportedLocales(Collection<Locale> locales) Copies the supported locales, preserving iteration order.LocaleMatcher.Builder.setSupportedULocales(Collection<ULocale> locales) Copies the supported locales, preserving iteration order.Constructors in com.ibm.icu.util with parameters of type LocaleMatcher.Builder