Uses of Class
java.util.Locale.Builder
-
Packages that use Locale.Builder Package Description java.util 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
Methods in java.util that return Locale.Builder Modifier and Type Method 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 theBuilder
to match the providedlocale
.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.
-