Returns a Locale
instance for the best-matching language
tag using the lookup mechanism defined in RFC 4647.
priorityList | user's Language Priority List in which each language tag is sorted in descending order based on priority or weight | |
locales | Locale instances used for matching |
Locale
instance chosen based on
priority or weight, or null
if nothing matches.
NullPointerException | if priorityList or tags is
null |
Diagram: Locale