public interface LocaleMapping
| Modifier and Type | Method and Description |
|---|---|
Locale |
findClosestMatch(Set<Locale> fromList,
Locale forLocale)
Find the locale from the given locale set that
is the closes match to the forLocale.
|
Locale findClosestMatch(Set<Locale> fromList, Locale forLocale)
Find the locale from the given locale set that is the closes match to the forLocale.
Provided the set contains Locale.ROOT, the
result is guaranteed to be non-null.
fromList - possible locales to pick fromforLocale - locale to find the closest match forCopyright © 2013. All Rights Reserved.