Class InternalLocaleBuilder
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.locale.InternalLocaleBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUnicodeLocaleAttribute(String attribute) clear()removeUnicodeLocaleAttribute(String attribute) setExtension(char singleton, String value) setExtensions(String subtags) setLanguage(String language) setLanguageTag(LanguageTag langtag) setLocale(BaseLocale base, LocaleExtensions extensions) setUnicodeLocaleKeyword(String key, String type) setVariant(String variant)
-
Constructor Details
-
InternalLocaleBuilder
public InternalLocaleBuilder()
-
-
Method Details
-
setLanguage
- Throws:
LocaleSyntaxException
-
setScript
- Throws:
LocaleSyntaxException
-
setRegion
- Throws:
LocaleSyntaxException
-
setVariant
- Throws:
LocaleSyntaxException
-
addUnicodeLocaleAttribute
public InternalLocaleBuilder addUnicodeLocaleAttribute(String attribute) throws LocaleSyntaxException - Throws:
LocaleSyntaxException
-
removeUnicodeLocaleAttribute
public InternalLocaleBuilder removeUnicodeLocaleAttribute(String attribute) throws LocaleSyntaxException - Throws:
LocaleSyntaxException
-
setUnicodeLocaleKeyword
public InternalLocaleBuilder setUnicodeLocaleKeyword(String key, String type) throws LocaleSyntaxException - Throws:
LocaleSyntaxException
-
setExtension
public InternalLocaleBuilder setExtension(char singleton, String value) throws LocaleSyntaxException - Throws:
LocaleSyntaxException
-
setExtensions
- Throws:
LocaleSyntaxException
-
setLanguageTag
-
setLocale
public InternalLocaleBuilder setLocale(BaseLocale base, LocaleExtensions extensions) throws LocaleSyntaxException - Throws:
LocaleSyntaxException
-
clear
-
clearExtensions
-
getBaseLocale
-
getLocaleExtensions
-