## Uses of Class
java.util.Locale.FilteringMode

- Packages that use Locale.FilteringMode
  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).

- - ### Uses of Locale.FilteringMode in java.util

    Methods in java.util that return Locale.FilteringMode
    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.

    Methods in java.util with parameters of type Locale.FilteringMode
    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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.