| Package | Description |
|---|---|
| java.util |
| Modifier and Type | Method and Description |
|---|---|
static List<Locale.LanguageRange> |
Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList,
Map<String,List<String>> map)
Generates a new customized Language Priority List using the given
priorityList and map. |
static List<Locale.LanguageRange> |
Locale.LanguageRange.parse(String ranges)
Parses the given
ranges to generate a Language Priority List. |
static List<Locale.LanguageRange> |
Locale.LanguageRange.parse(String ranges,
Map<String,List<String>> map)
Parses the given
ranges to generate a Language Priority
List, and then customizes the list using the given map. |
| Modifier and Type | Method and Description |
|---|---|
static List<Locale> |
Locale.filter(List<Locale.LanguageRange> priorityList,
Collection<Locale> locales)
Returns a list of matching
Locale instances using the filtering
mechanism defined in RFC 4647. |
static List<Locale> |
Locale.filter(List<Locale.LanguageRange> priorityList,
Collection<Locale> locales,
Locale.FilteringMode mode)
Returns a list of matching
Locale instances using the filtering
mechanism defined in RFC 4647. |
static List<String> |
Locale.filterTags(List<Locale.LanguageRange> priorityList,
Collection<String> tags)
Returns a list of matching languages tags using the basic filtering
mechanism defined in RFC 4647.
|
static List<String> |
Locale.filterTags(List<Locale.LanguageRange> priorityList,
Collection<String> tags,
Locale.FilteringMode mode)
Returns a list of matching languages tags using the basic filtering
mechanism defined in RFC 4647.
|
static Locale |
Locale.lookup(List<Locale.LanguageRange> priorityList,
Collection<Locale> locales)
Returns a
Locale instance for the best-matching language
tag using the lookup mechanism defined in RFC 4647. |
static String |
Locale.lookupTag(List<Locale.LanguageRange> priorityList,
Collection<String> tags)
Returns the best-matching language tag using the lookup mechanism
defined in RFC 4647.
|
static List<Locale.LanguageRange> |
Locale.LanguageRange.mapEquivalents(List<Locale.LanguageRange> priorityList,
Map<String,List<String>> map)
Generates a new customized Language Priority List using the given
priorityList and map. |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.