Uses of Class
java.util.Locale.Builder
Package
Description
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
-
Uses of Locale.Builder in java.util
Modifier and TypeMethodDescriptionLocale.Builder.addUnicodeLocaleAttribute
(String attribute) Adds a unicode locale attribute, if not already present, otherwise has no effect.Locale.Builder.clear()
Resets the builder to its initial, empty state.Locale.Builder.clearExtensions()
Resets the extensions to their initial, empty state.Locale.Builder.removeUnicodeLocaleAttribute
(String attribute) Removes a unicode locale attribute, if present, otherwise has no effect.Locale.Builder.setExtension
(char key, String value) Sets the extension for the given key.Locale.Builder.setLanguage
(String language) Sets the language.Locale.Builder.setLanguageTag
(String languageTag) Resets the Builder to match the provided IETF BCP 47 language tag.Resets theBuilder
to match the providedlocale
.Sets the region.Sets the script.Locale.Builder.setUnicodeLocaleKeyword
(String key, String type) Sets the Unicode locale keyword type for the given key.Locale.Builder.setVariant
(String variant) Sets the variant.