| Package | Description |
|---|---|
| java.util |
| Modifier and Type | Method and Description |
|---|---|
Locale.Builder |
Locale.Builder.addUnicodeLocaleAttribute(String attribute)
Adds a unicode locale attribute, if not already present, otherwise
has no effect.
|
Locale.Builder |
Locale.Builder.clear()
Resets the builder to its initial, empty state.
|
Locale.Builder |
Locale.Builder.clearExtensions()
Resets the extensions to their initial, empty state.
|
Locale.Builder |
Locale.Builder.removeUnicodeLocaleAttribute(String attribute)
Removes a unicode locale attribute, if present, otherwise has no
effect.
|
Locale.Builder |
Locale.Builder.setExtension(char key,
String value)
Sets the extension for the given key.
|
Locale.Builder |
Locale.Builder.setLanguage(String language)
Sets the language.
|
Locale.Builder |
Locale.Builder.setLanguageTag(String languageTag)
Resets the Builder to match the provided IETF BCP 47
language tag.
|
Locale.Builder |
Locale.Builder.setLocale(Locale locale)
Resets the
Builder to match the provided
locale. |
Locale.Builder |
Locale.Builder.setRegion(String region)
Sets the region.
|
Locale.Builder |
Locale.Builder.setScript(String script)
Sets the script.
|
Locale.Builder |
Locale.Builder.setUnicodeLocaleKeyword(String key,
String type)
Sets the Unicode locale keyword type for the given key.
|
Locale.Builder |
Locale.Builder.setVariant(String variant)
Sets the variant.
|
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.