Package | Description |
---|---|
java.util |
Contains the collections framework, legacy collection classes,
event model, date and time facilities, internationalization, and
miscellaneous utility classes (a string tokenizer, a random-number
generator, and a bit array).
|
Modifier and Type | Method | Description |
---|---|---|
static Locale.FilteringMode |
Locale.FilteringMode.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Locale.FilteringMode[] |
Locale.FilteringMode.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
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,
Locale.FilteringMode mode) |
Returns a list of matching languages tags using the basic filtering
mechanism defined in RFC 4647.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps