Package com.adobe.xfa.ut
Class LcLocale
- java.lang.Object
-
- com.adobe.xfa.ut.LcLocale
-
public final class LcLocale extends java.lang.Object
A class to represent any of the locales known to XFA.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
Albanian
static java.lang.String
Albanian_Albania
static java.lang.String
Arabic
static java.lang.String
Arabic_Algeria
static java.lang.String
Arabic_Bahrain
static java.lang.String
Arabic_Egypt
static java.lang.String
Arabic_Iraq
static java.lang.String
Arabic_Jordan
static java.lang.String
Arabic_Kuwait
static java.lang.String
Arabic_Lebanon
static java.lang.String
Arabic_Libya
static java.lang.String
Arabic_Morocco
static java.lang.String
Arabic_Oman
static java.lang.String
Arabic_Qatar
static java.lang.String
Arabic_SaudiArabia
static java.lang.String
Arabic_Sudan
static java.lang.String
Arabic_Syria
static java.lang.String
Arabic_Tunisia
static java.lang.String
Arabic_UAE
static java.lang.String
Arabic_Yemen
static java.lang.String
Armenian
static java.lang.String
Armenian_Armenia
static java.lang.String
Azerbaijani
static java.lang.String
Azerbaijani_Azerbaijan
static java.lang.String
Azerbaijani_Cyrillic
static java.lang.String
Azerbaijani_Cyrillic_Azerbaijan
static java.lang.String
Azerbaijani_Latin
static java.lang.String
Azerbaijani_Latin_Azerbaijan
static java.lang.String
Basque
static java.lang.String
Basque_Spain
static java.lang.String
Bosnian
static java.lang.String
Bosnian_BosniaHerzegovina
static java.lang.String
Bulgarian
static java.lang.String
Bulgarian_Bulgaria
static java.lang.String
Byelorussian
static java.lang.String
Byelorussian_Belarus
static java.lang.String
C
static java.lang.String
Catalan
static java.lang.String
Catalan_Spain
static java.lang.String
Chinese
static java.lang.String
Chinese_China
static java.lang.String
Chinese_HongKong
static java.lang.String
Chinese_Simplified
static java.lang.String
Chinese_Singapore
static java.lang.String
Chinese_Taiwan
static java.lang.String
Chinese_Traditional
static java.lang.String
Croatian
static java.lang.String
Croatian_Croatia
static java.lang.String
Czech
static java.lang.String
Czech_CzechRepublic
static java.lang.String
Danish
static java.lang.String
Danish_Denmark
static java.lang.String
DEFAULT_LOCALE
The default XFA locale name: en_US.static java.lang.String
Dutch
static java.lang.String
Dutch_Belgium
static java.lang.String
Dutch_Netherlands
static java.lang.String
English
static java.lang.String
English_Australia
static java.lang.String
English_Belgium
static java.lang.String
English_Canada
static java.lang.String
English_HongKong
static java.lang.String
English_India
static java.lang.String
English_Ireland
static java.lang.String
English_NewZealand
static java.lang.String
English_Philippines
static java.lang.String
English_Singapore
static java.lang.String
English_SouthAfrica
static java.lang.String
English_UK
static java.lang.String
English_UK_Euro
static java.lang.String
English_US
static java.lang.String
English_US_Posix
static java.lang.String
English_VirginIslands
static java.lang.String
Estonian
static java.lang.String
Estonian_Estonia
static java.lang.String
Finnish
static java.lang.String
Finnish_Finland
static java.lang.String
French
static java.lang.String
French_Belgium
static java.lang.String
French_Canada
static java.lang.String
French_France
static java.lang.String
French_Luxembourg
static java.lang.String
French_Switzerland
static java.lang.String
German
static java.lang.String
German_Austria
static java.lang.String
German_Belgium
static java.lang.String
German_Germany
static java.lang.String
German_Liechtenstein
static java.lang.String
German_Luxembourg
static java.lang.String
German_Switzerland
static java.lang.String
Greek
static java.lang.String
Greek_Greece
static java.lang.String
Hebrew
static java.lang.String
Hebrew_Israel
static java.lang.String
Hindi
static java.lang.String
Hindi_India
static java.lang.String
Hungarian
static java.lang.String
Hungarian_Hungary
static java.lang.String
Icelandic
static java.lang.String
Icelandic_Iceland
static java.lang.String
Indonesian
static java.lang.String
Indonesian_Indonesia
static java.lang.String
Italian
static java.lang.String
Italian_Italy
static java.lang.String
Italian_Switzerland
static java.lang.String
Japanese
static java.lang.String
Japanese_Japan
static java.lang.String
Kazakh
static java.lang.String
Kazakh_Kazakhstan
static java.lang.String
Khmer
static java.lang.String
Khmer_Cambodia
static java.lang.String
Korean
static java.lang.String
Korean_Korea
static java.lang.String
Korean_Korea_Hani
static java.lang.String
Lao
static java.lang.String
Lao_Laos
static java.lang.String
Latvian
static java.lang.String
Latvian_Latvia
static java.lang.String
Lithuanian
static java.lang.String
Lithuanian_Lithuania
static java.lang.String
Macedonian
static java.lang.String
Macedonian_Macedonia
static java.lang.String
Malay
static java.lang.String
Malay_Malaysia
static java.lang.String
Norwegian_Bokmal
static java.lang.String
Norwegian_Bokmal_Norway
static java.lang.String
Norwegian_Nynorsk
static java.lang.String
Norwegian_Nynorsk_Norway
static java.lang.String
Persian
static java.lang.String
Persian_Iran
static java.lang.String
Polish
static java.lang.String
Polish_Poland
static java.lang.String
Portuguese
static java.lang.String
Portuguese_Brazil
static java.lang.String
Portuguese_Portugal
static java.lang.String
Romanian
static java.lang.String
Romanian_Moldova
static java.lang.String
Romanian_Romania
static java.lang.String
Russian
static java.lang.String
Russian_Moldova
static java.lang.String
Russian_Russia
static java.lang.String
Russian_Ukraine
static java.lang.String
Serbian
static java.lang.String
Serbian_Cyrillic
static java.lang.String
Serbian_Cyrillic_SerbiaMontenegro
static java.lang.String
Serbian_Latin
static java.lang.String
Serbian_Latin_SerbiaMontenegro
static java.lang.String
Serbian_Yugoslavia
static java.lang.String
Serbo_Croatian
static java.lang.String
Serbo_Croatian_BosniaHerzegovina
static java.lang.String
Serbo_Croatian_Croatia
static java.lang.String
Serbo_Croatian_SerbiaMontenegro
static java.lang.String
Slovak
static java.lang.String
Slovak_Slovakia
static java.lang.String
Slovenian
static java.lang.String
Slovenian_Slovenia
static java.lang.String
Spanish
static java.lang.String
Spanish_Argentina
static java.lang.String
Spanish_Bolivia
static java.lang.String
Spanish_Chile
static java.lang.String
Spanish_Colombia
static java.lang.String
Spanish_CostaRica
static java.lang.String
Spanish_DominicanRepublic
static java.lang.String
Spanish_Ecuador
static java.lang.String
Spanish_ElSalvador
static java.lang.String
Spanish_Guatemala
static java.lang.String
Spanish_Honduras
static java.lang.String
Spanish_Mexico
static java.lang.String
Spanish_Nicaragua
static java.lang.String
Spanish_Panama
static java.lang.String
Spanish_Paraguay
static java.lang.String
Spanish_Peru
static java.lang.String
Spanish_PuertoRico
static java.lang.String
Spanish_Spain
static java.lang.String
Spanish_Uruguay
static java.lang.String
Spanish_US
static java.lang.String
Spanish_Venezuela
static java.lang.String
Swedish
static java.lang.String
Swedish_Finland
static java.lang.String
Swedish_Sweden
static java.lang.String
Tagalog
static java.lang.String
Tagalog_Philippines
static java.lang.String
Thai
static java.lang.String
Thai_Thailand
static java.lang.String
Thai_Thailand_Traditional
static java.lang.String
Turkish
static java.lang.String
Turkish_Turkey
static java.lang.String
Ukrainian
static java.lang.String
Ukrainian_Ukraine
static java.lang.String
Vietnamese
static java.lang.String
Vietnamese_Vietnam
-
Constructor Summary
Constructors Constructor Description LcLocale(java.lang.String locale)
Instantiates an LcLocale with the given name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
currencySymbol()
Gets the current locale's currency symbol.static java.lang.String
decimalPoint()
Gets the current locale's decimal point symbol.boolean
equals(java.lang.Object object)
Compares the given LcLocale to this.java.lang.String
getCharSet()
Gets this object's character set.java.lang.String
getDescName()
Gets this object's descriptive name.java.lang.String
getIsoName()
Gets this object's ISO name.static java.lang.String
getLocale()
Gets the current locale's iso name.java.lang.String
getName()
Gets this object's name.int
hashCode()
Returns a hash code value for the object.boolean
isArabic()
Determines if this object represents an Arabic locale.boolean
isBIDI()
Determines if this object represents a locale were text is displayed bidirectionally.boolean
isChinese()
Determines if this object represents a Chinese locale.boolean
isIdeographic()
Determines if this object represents a locale were text is ideographic.boolean
isJapanese()
Determines if this object represents a Japanese locale.boolean
isKorean()
Determines if this object represents a Korean locale.boolean
isKoreanHani()
Determines if this object represents a Korean_Hani locale.boolean
isSimplifiedChinese()
Determines if this object represents a Simplified Chinese locale.boolean
isThai()
Determines if this object represents a Thai locale.boolean
isTraditionalChinese()
Determines if this object represents a Traditional Chinese locale.boolean
isValid()
Determines if this object is a valid -- recognized locale.boolean
needsDictionaryBreaking()
Determines if this object represents a locale were dictionary-based line breaking is needed.static java.lang.String
negativeSign()
Gets the current locale's negative sign symbol.static java.lang.String
normalize(java.lang.String locale)
Normalizes locale name into xx_XX or xx_Xxxx_XX format.static java.lang.String
positiveSign()
Get the current locale's positive sign symbol.static void
reset()
Resets LcLocale's runtime map to its internal defaults.static void
setLocale(java.lang.String localeName)
Set the current default locale to the given iso locale.static java.lang.String
systemDecimalPoint()
Gets the current system locale's decimal point symbol.static char
systemDecimalPointAsChar()
Gets the current system locale's decimal point symbol.static java.lang.String
thousandsSep()
Gets the current locale's thousands separator symbol.static void
update(java.lang.String sLocale, java.lang.String sDesc)
Updates LcLocale's runtime map with the given locale definition.
-
-
-
Field Detail
-
Arabic
public static final java.lang.String Arabic
- See Also:
- Constant Field Values
-
Arabic_UAE
public static final java.lang.String Arabic_UAE
- See Also:
- Constant Field Values
-
Arabic_Bahrain
public static final java.lang.String Arabic_Bahrain
- See Also:
- Constant Field Values
-
Arabic_Algeria
public static final java.lang.String Arabic_Algeria
- See Also:
- Constant Field Values
-
Arabic_Egypt
public static final java.lang.String Arabic_Egypt
- See Also:
- Constant Field Values
-
Arabic_Iraq
public static final java.lang.String Arabic_Iraq
- See Also:
- Constant Field Values
-
Arabic_Jordan
public static final java.lang.String Arabic_Jordan
- See Also:
- Constant Field Values
-
Arabic_Kuwait
public static final java.lang.String Arabic_Kuwait
- See Also:
- Constant Field Values
-
Arabic_Lebanon
public static final java.lang.String Arabic_Lebanon
- See Also:
- Constant Field Values
-
Arabic_Libya
public static final java.lang.String Arabic_Libya
- See Also:
- Constant Field Values
-
Arabic_Morocco
public static final java.lang.String Arabic_Morocco
- See Also:
- Constant Field Values
-
Arabic_Oman
public static final java.lang.String Arabic_Oman
- See Also:
- Constant Field Values
-
Arabic_Qatar
public static final java.lang.String Arabic_Qatar
- See Also:
- Constant Field Values
-
Arabic_SaudiArabia
public static final java.lang.String Arabic_SaudiArabia
- See Also:
- Constant Field Values
-
Arabic_Sudan
public static final java.lang.String Arabic_Sudan
- See Also:
- Constant Field Values
-
Arabic_Syria
public static final java.lang.String Arabic_Syria
- See Also:
- Constant Field Values
-
Arabic_Tunisia
public static final java.lang.String Arabic_Tunisia
- See Also:
- Constant Field Values
-
Arabic_Yemen
public static final java.lang.String Arabic_Yemen
- See Also:
- Constant Field Values
-
Azerbaijani
public static final java.lang.String Azerbaijani
- See Also:
- Constant Field Values
-
Azerbaijani_Azerbaijan
public static final java.lang.String Azerbaijani_Azerbaijan
- See Also:
- Constant Field Values
-
Azerbaijani_Cyrillic
public static final java.lang.String Azerbaijani_Cyrillic
- See Also:
- Constant Field Values
-
Azerbaijani_Cyrillic_Azerbaijan
public static final java.lang.String Azerbaijani_Cyrillic_Azerbaijan
- See Also:
- Constant Field Values
-
Azerbaijani_Latin
public static final java.lang.String Azerbaijani_Latin
- See Also:
- Constant Field Values
-
Azerbaijani_Latin_Azerbaijan
public static final java.lang.String Azerbaijani_Latin_Azerbaijan
- See Also:
- Constant Field Values
-
Byelorussian
public static final java.lang.String Byelorussian
- See Also:
- Constant Field Values
-
Byelorussian_Belarus
public static final java.lang.String Byelorussian_Belarus
- See Also:
- Constant Field Values
-
Bulgarian
public static final java.lang.String Bulgarian
- See Also:
- Constant Field Values
-
Bulgarian_Bulgaria
public static final java.lang.String Bulgarian_Bulgaria
- See Also:
- Constant Field Values
-
Bosnian
public static final java.lang.String Bosnian
- See Also:
- Constant Field Values
-
Bosnian_BosniaHerzegovina
public static final java.lang.String Bosnian_BosniaHerzegovina
- See Also:
- Constant Field Values
-
C
public static final java.lang.String C
- See Also:
- Constant Field Values
-
Catalan
public static final java.lang.String Catalan
- See Also:
- Constant Field Values
-
Catalan_Spain
public static final java.lang.String Catalan_Spain
- See Also:
- Constant Field Values
-
Czech
public static final java.lang.String Czech
- See Also:
- Constant Field Values
-
Czech_CzechRepublic
public static final java.lang.String Czech_CzechRepublic
- See Also:
- Constant Field Values
-
Danish
public static final java.lang.String Danish
- See Also:
- Constant Field Values
-
Danish_Denmark
public static final java.lang.String Danish_Denmark
- See Also:
- Constant Field Values
-
German
public static final java.lang.String German
- See Also:
- Constant Field Values
-
German_Austria
public static final java.lang.String German_Austria
- See Also:
- Constant Field Values
-
German_Belgium
public static final java.lang.String German_Belgium
- See Also:
- Constant Field Values
-
German_Switzerland
public static final java.lang.String German_Switzerland
- See Also:
- Constant Field Values
-
German_Germany
public static final java.lang.String German_Germany
- See Also:
- Constant Field Values
-
German_Liechtenstein
public static final java.lang.String German_Liechtenstein
- See Also:
- Constant Field Values
-
German_Luxembourg
public static final java.lang.String German_Luxembourg
- See Also:
- Constant Field Values
-
Greek
public static final java.lang.String Greek
- See Also:
- Constant Field Values
-
Greek_Greece
public static final java.lang.String Greek_Greece
- See Also:
- Constant Field Values
-
English
public static final java.lang.String English
- See Also:
- Constant Field Values
-
English_Australia
public static final java.lang.String English_Australia
- See Also:
- Constant Field Values
-
English_Belgium
public static final java.lang.String English_Belgium
- See Also:
- Constant Field Values
-
English_Canada
public static final java.lang.String English_Canada
- See Also:
- Constant Field Values
-
English_UK
public static final java.lang.String English_UK
- See Also:
- Constant Field Values
-
English_UK_Euro
public static final java.lang.String English_UK_Euro
- See Also:
- Constant Field Values
-
English_HongKong
public static final java.lang.String English_HongKong
- See Also:
- Constant Field Values
-
English_Ireland
public static final java.lang.String English_Ireland
- See Also:
- Constant Field Values
-
English_India
public static final java.lang.String English_India
- See Also:
- Constant Field Values
-
English_NewZealand
public static final java.lang.String English_NewZealand
- See Also:
- Constant Field Values
-
English_Philippines
public static final java.lang.String English_Philippines
- See Also:
- Constant Field Values
-
English_Singapore
public static final java.lang.String English_Singapore
- See Also:
- Constant Field Values
-
English_US
public static final java.lang.String English_US
- See Also:
- Constant Field Values
-
English_US_Posix
public static final java.lang.String English_US_Posix
- See Also:
- Constant Field Values
-
English_VirginIslands
public static final java.lang.String English_VirginIslands
- See Also:
- Constant Field Values
-
English_SouthAfrica
public static final java.lang.String English_SouthAfrica
- See Also:
- Constant Field Values
-
Spanish
public static final java.lang.String Spanish
- See Also:
- Constant Field Values
-
Spanish_Argentina
public static final java.lang.String Spanish_Argentina
- See Also:
- Constant Field Values
-
Spanish_Bolivia
public static final java.lang.String Spanish_Bolivia
- See Also:
- Constant Field Values
-
Spanish_Chile
public static final java.lang.String Spanish_Chile
- See Also:
- Constant Field Values
-
Spanish_Colombia
public static final java.lang.String Spanish_Colombia
- See Also:
- Constant Field Values
-
Spanish_CostaRica
public static final java.lang.String Spanish_CostaRica
- See Also:
- Constant Field Values
-
Spanish_DominicanRepublic
public static final java.lang.String Spanish_DominicanRepublic
- See Also:
- Constant Field Values
-
Spanish_Ecuador
public static final java.lang.String Spanish_Ecuador
- See Also:
- Constant Field Values
-
Spanish_Spain
public static final java.lang.String Spanish_Spain
- See Also:
- Constant Field Values
-
Spanish_Guatemala
public static final java.lang.String Spanish_Guatemala
- See Also:
- Constant Field Values
-
Spanish_Honduras
public static final java.lang.String Spanish_Honduras
- See Also:
- Constant Field Values
-
Spanish_Mexico
public static final java.lang.String Spanish_Mexico
- See Also:
- Constant Field Values
-
Spanish_Nicaragua
public static final java.lang.String Spanish_Nicaragua
- See Also:
- Constant Field Values
-
Spanish_Panama
public static final java.lang.String Spanish_Panama
- See Also:
- Constant Field Values
-
Spanish_Peru
public static final java.lang.String Spanish_Peru
- See Also:
- Constant Field Values
-
Spanish_PuertoRico
public static final java.lang.String Spanish_PuertoRico
- See Also:
- Constant Field Values
-
Spanish_Paraguay
public static final java.lang.String Spanish_Paraguay
- See Also:
- Constant Field Values
-
Spanish_ElSalvador
public static final java.lang.String Spanish_ElSalvador
- See Also:
- Constant Field Values
-
Spanish_US
public static final java.lang.String Spanish_US
- See Also:
- Constant Field Values
-
Spanish_Uruguay
public static final java.lang.String Spanish_Uruguay
- See Also:
- Constant Field Values
-
Spanish_Venezuela
public static final java.lang.String Spanish_Venezuela
- See Also:
- Constant Field Values
-
Estonian
public static final java.lang.String Estonian
- See Also:
- Constant Field Values
-
Estonian_Estonia
public static final java.lang.String Estonian_Estonia
- See Also:
- Constant Field Values
-
Basque
public static final java.lang.String Basque
- See Also:
- Constant Field Values
-
Basque_Spain
public static final java.lang.String Basque_Spain
- See Also:
- Constant Field Values
-
Persian
public static final java.lang.String Persian
- See Also:
- Constant Field Values
-
Persian_Iran
public static final java.lang.String Persian_Iran
- See Also:
- Constant Field Values
-
Finnish
public static final java.lang.String Finnish
- See Also:
- Constant Field Values
-
Finnish_Finland
public static final java.lang.String Finnish_Finland
- See Also:
- Constant Field Values
-
French
public static final java.lang.String French
- See Also:
- Constant Field Values
-
French_Belgium
public static final java.lang.String French_Belgium
- See Also:
- Constant Field Values
-
French_Canada
public static final java.lang.String French_Canada
- See Also:
- Constant Field Values
-
French_Switzerland
public static final java.lang.String French_Switzerland
- See Also:
- Constant Field Values
-
French_France
public static final java.lang.String French_France
- See Also:
- Constant Field Values
-
French_Luxembourg
public static final java.lang.String French_Luxembourg
- See Also:
- Constant Field Values
-
Hebrew
public static final java.lang.String Hebrew
- See Also:
- Constant Field Values
-
Hebrew_Israel
public static final java.lang.String Hebrew_Israel
- See Also:
- Constant Field Values
-
Hindi
public static final java.lang.String Hindi
- See Also:
- Constant Field Values
-
Hindi_India
public static final java.lang.String Hindi_India
- See Also:
- Constant Field Values
-
Croatian
public static final java.lang.String Croatian
- See Also:
- Constant Field Values
-
Croatian_Croatia
public static final java.lang.String Croatian_Croatia
- See Also:
- Constant Field Values
-
Hungarian
public static final java.lang.String Hungarian
- See Also:
- Constant Field Values
-
Hungarian_Hungary
public static final java.lang.String Hungarian_Hungary
- See Also:
- Constant Field Values
-
Armenian
public static final java.lang.String Armenian
- See Also:
- Constant Field Values
-
Armenian_Armenia
public static final java.lang.String Armenian_Armenia
- See Also:
- Constant Field Values
-
Indonesian
public static final java.lang.String Indonesian
- See Also:
- Constant Field Values
-
Indonesian_Indonesia
public static final java.lang.String Indonesian_Indonesia
- See Also:
- Constant Field Values
-
Icelandic
public static final java.lang.String Icelandic
- See Also:
- Constant Field Values
-
Icelandic_Iceland
public static final java.lang.String Icelandic_Iceland
- See Also:
- Constant Field Values
-
Italian
public static final java.lang.String Italian
- See Also:
- Constant Field Values
-
Italian_Switzerland
public static final java.lang.String Italian_Switzerland
- See Also:
- Constant Field Values
-
Italian_Italy
public static final java.lang.String Italian_Italy
- See Also:
- Constant Field Values
-
Japanese
public static final java.lang.String Japanese
- See Also:
- Constant Field Values
-
Japanese_Japan
public static final java.lang.String Japanese_Japan
- See Also:
- Constant Field Values
-
Kazakh
public static final java.lang.String Kazakh
- See Also:
- Constant Field Values
-
Kazakh_Kazakhstan
public static final java.lang.String Kazakh_Kazakhstan
- See Also:
- Constant Field Values
-
Khmer
public static final java.lang.String Khmer
- See Also:
- Constant Field Values
-
Khmer_Cambodia
public static final java.lang.String Khmer_Cambodia
- See Also:
- Constant Field Values
-
Korean
public static final java.lang.String Korean
- See Also:
- Constant Field Values
-
Korean_Korea
public static final java.lang.String Korean_Korea
- See Also:
- Constant Field Values
-
Korean_Korea_Hani
public static final java.lang.String Korean_Korea_Hani
- See Also:
- Constant Field Values
-
Lao
public static final java.lang.String Lao
- See Also:
- Constant Field Values
-
Lao_Laos
public static final java.lang.String Lao_Laos
- See Also:
- Constant Field Values
-
Lithuanian
public static final java.lang.String Lithuanian
- See Also:
- Constant Field Values
-
Lithuanian_Lithuania
public static final java.lang.String Lithuanian_Lithuania
- See Also:
- Constant Field Values
-
Latvian
public static final java.lang.String Latvian
- See Also:
- Constant Field Values
-
Latvian_Latvia
public static final java.lang.String Latvian_Latvia
- See Also:
- Constant Field Values
-
Macedonian
public static final java.lang.String Macedonian
- See Also:
- Constant Field Values
-
Macedonian_Macedonia
public static final java.lang.String Macedonian_Macedonia
- See Also:
- Constant Field Values
-
Malay
public static final java.lang.String Malay
- See Also:
- Constant Field Values
-
Malay_Malaysia
public static final java.lang.String Malay_Malaysia
- See Also:
- Constant Field Values
-
Norwegian_Bokmal
public static final java.lang.String Norwegian_Bokmal
- See Also:
- Constant Field Values
-
Norwegian_Bokmal_Norway
public static final java.lang.String Norwegian_Bokmal_Norway
- See Also:
- Constant Field Values
-
Dutch
public static final java.lang.String Dutch
- See Also:
- Constant Field Values
-
Dutch_Belgium
public static final java.lang.String Dutch_Belgium
- See Also:
- Constant Field Values
-
Dutch_Netherlands
public static final java.lang.String Dutch_Netherlands
- See Also:
- Constant Field Values
-
Norwegian_Nynorsk
public static final java.lang.String Norwegian_Nynorsk
- See Also:
- Constant Field Values
-
Norwegian_Nynorsk_Norway
public static final java.lang.String Norwegian_Nynorsk_Norway
- See Also:
- Constant Field Values
-
Polish
public static final java.lang.String Polish
- See Also:
- Constant Field Values
-
Polish_Poland
public static final java.lang.String Polish_Poland
- See Also:
- Constant Field Values
-
Portuguese
public static final java.lang.String Portuguese
- See Also:
- Constant Field Values
-
Portuguese_Brazil
public static final java.lang.String Portuguese_Brazil
- See Also:
- Constant Field Values
-
Portuguese_Portugal
public static final java.lang.String Portuguese_Portugal
- See Also:
- Constant Field Values
-
Romanian
public static final java.lang.String Romanian
- See Also:
- Constant Field Values
-
Romanian_Moldova
public static final java.lang.String Romanian_Moldova
- See Also:
- Constant Field Values
-
Romanian_Romania
public static final java.lang.String Romanian_Romania
- See Also:
- Constant Field Values
-
Russian
public static final java.lang.String Russian
- See Also:
- Constant Field Values
-
Russian_Moldova
public static final java.lang.String Russian_Moldova
- See Also:
- Constant Field Values
-
Russian_Russia
public static final java.lang.String Russian_Russia
- See Also:
- Constant Field Values
-
Russian_Ukraine
public static final java.lang.String Russian_Ukraine
- See Also:
- Constant Field Values
-
Serbo_Croatian
public static final java.lang.String Serbo_Croatian
- See Also:
- Constant Field Values
-
Serbo_Croatian_BosniaHerzegovina
public static final java.lang.String Serbo_Croatian_BosniaHerzegovina
- See Also:
- Constant Field Values
-
Serbo_Croatian_SerbiaMontenegro
public static final java.lang.String Serbo_Croatian_SerbiaMontenegro
- See Also:
- Constant Field Values
-
Serbo_Croatian_Croatia
public static final java.lang.String Serbo_Croatian_Croatia
- See Also:
- Constant Field Values
-
Slovak
public static final java.lang.String Slovak
- See Also:
- Constant Field Values
-
Slovak_Slovakia
public static final java.lang.String Slovak_Slovakia
- See Also:
- Constant Field Values
-
Slovenian
public static final java.lang.String Slovenian
- See Also:
- Constant Field Values
-
Slovenian_Slovenia
public static final java.lang.String Slovenian_Slovenia
- See Also:
- Constant Field Values
-
Albanian
public static final java.lang.String Albanian
- See Also:
- Constant Field Values
-
Albanian_Albania
public static final java.lang.String Albanian_Albania
- See Also:
- Constant Field Values
-
Serbian
public static final java.lang.String Serbian
- See Also:
- Constant Field Values
-
Serbian_Yugoslavia
public static final java.lang.String Serbian_Yugoslavia
- See Also:
- Constant Field Values
-
Serbian_Cyrillic
public static final java.lang.String Serbian_Cyrillic
- See Also:
- Constant Field Values
-
Serbian_Cyrillic_SerbiaMontenegro
public static final java.lang.String Serbian_Cyrillic_SerbiaMontenegro
- See Also:
- Constant Field Values
-
Serbian_Latin
public static final java.lang.String Serbian_Latin
- See Also:
- Constant Field Values
-
Serbian_Latin_SerbiaMontenegro
public static final java.lang.String Serbian_Latin_SerbiaMontenegro
- See Also:
- Constant Field Values
-
Swedish
public static final java.lang.String Swedish
- See Also:
- Constant Field Values
-
Swedish_Finland
public static final java.lang.String Swedish_Finland
- See Also:
- Constant Field Values
-
Swedish_Sweden
public static final java.lang.String Swedish_Sweden
- See Also:
- Constant Field Values
-
Thai
public static final java.lang.String Thai
- See Also:
- Constant Field Values
-
Thai_Thailand
public static final java.lang.String Thai_Thailand
- See Also:
- Constant Field Values
-
Thai_Thailand_Traditional
public static final java.lang.String Thai_Thailand_Traditional
- See Also:
- Constant Field Values
-
Tagalog
public static final java.lang.String Tagalog
- See Also:
- Constant Field Values
-
Tagalog_Philippines
public static final java.lang.String Tagalog_Philippines
- See Also:
- Constant Field Values
-
Turkish
public static final java.lang.String Turkish
- See Also:
- Constant Field Values
-
Turkish_Turkey
public static final java.lang.String Turkish_Turkey
- See Also:
- Constant Field Values
-
Ukrainian
public static final java.lang.String Ukrainian
- See Also:
- Constant Field Values
-
Ukrainian_Ukraine
public static final java.lang.String Ukrainian_Ukraine
- See Also:
- Constant Field Values
-
Vietnamese
public static final java.lang.String Vietnamese
- See Also:
- Constant Field Values
-
Vietnamese_Vietnam
public static final java.lang.String Vietnamese_Vietnam
- See Also:
- Constant Field Values
-
Chinese
public static final java.lang.String Chinese
- See Also:
- Constant Field Values
-
Chinese_China
public static final java.lang.String Chinese_China
- See Also:
- Constant Field Values
-
Chinese_HongKong
public static final java.lang.String Chinese_HongKong
- See Also:
- Constant Field Values
-
Chinese_Simplified
public static final java.lang.String Chinese_Simplified
- See Also:
- Constant Field Values
-
Chinese_Traditional
public static final java.lang.String Chinese_Traditional
- See Also:
- Constant Field Values
-
Chinese_Singapore
public static final java.lang.String Chinese_Singapore
- See Also:
- Constant Field Values
-
Chinese_Taiwan
public static final java.lang.String Chinese_Taiwan
- See Also:
- Constant Field Values
-
DEFAULT_LOCALE
public static final java.lang.String DEFAULT_LOCALE
The default XFA locale name: en_US.- See Also:
- Constant Field Values
-
-
Method Detail
-
normalize
public static java.lang.String normalize(java.lang.String locale)
Normalizes locale name into xx_XX or xx_Xxxx_XX format.
-
isValid
public boolean isValid()
Determines if this object is a valid -- recognized locale.- Returns:
- boolean true if valid, and false otherwise.
-
isChinese
public boolean isChinese()
Determines if this object represents a Chinese locale.- Returns:
- boolean true if this locale is Chinese.
-
isSimplifiedChinese
public boolean isSimplifiedChinese()
Determines if this object represents a Simplified Chinese locale.- Returns:
- boolean true if this locale is Simplified Chinese.
-
isTraditionalChinese
public boolean isTraditionalChinese()
Determines if this object represents a Traditional Chinese locale.- Returns:
- boolean true if this locale is Traditional Chinese.
-
isJapanese
public boolean isJapanese()
Determines if this object represents a Japanese locale.- Returns:
- boolean true if this locale is Japanese.
-
isKoreanHani
public boolean isKoreanHani()
Determines if this object represents a Korean_Hani locale.- Returns:
- boolean true if this locale is Korean_Hani.
-
isKorean
public boolean isKorean()
Determines if this object represents a Korean locale.- Returns:
- boolean true if this locale is Korean.
-
isThai
public boolean isThai()
Determines if this object represents a Thai locale.- Returns:
- boolean true if this locale is Thai.
-
isBIDI
public boolean isBIDI()
Determines if this object represents a locale were text is displayed bidirectionally.- Returns:
- boolean true if this locale is bi-directional, and false otherwise.
-
isArabic
public boolean isArabic()
Determines if this object represents an Arabic locale.- Returns:
- boolean true if this locale is Arabic.
-
isIdeographic
public boolean isIdeographic()
Determines if this object represents a locale were text is ideographic. Useful in classifying characters with ambiguous East Asian width.- Returns:
- boolean true if this locale uses ideographic text, and false otherwise.
-
needsDictionaryBreaking
public boolean needsDictionaryBreaking()
Determines if this object represents a locale were dictionary-based line breaking is needed.- Returns:
- boolean true if this locale is needs breaks, and false otherwise.
-
getName
public java.lang.String getName()
Gets this object's name.- Returns:
- the name.
-
getIsoName
public java.lang.String getIsoName()
Gets this object's ISO name.- Returns:
- the ISO name.
-
getCharSet
public java.lang.String getCharSet()
Gets this object's character set.- Returns:
- the character set.
-
getDescName
public java.lang.String getDescName()
Gets this object's descriptive name.- Returns:
- the descriptive name.
-
equals
public boolean equals(java.lang.Object object)
Compares the given LcLocale to this.- Overrides:
equals
in classjava.lang.Object
- Parameters:
object
- the locale to compare with.- Returns:
true
when the locales compare identically, andfalse
otherwise.
-
hashCode
public int hashCode()
Returns a hash code value for the object. This method is unsupported.- Overrides:
hashCode
in classjava.lang.Object
-
getLocale
public static java.lang.String getLocale()
Gets the current locale's iso name.- Returns:
- the current locale's name.
-
setLocale
public static void setLocale(java.lang.String localeName)
Set the current default locale to the given iso locale.- Parameters:
localeName
- the new locale's name.
-
reset
public static void reset()
Resets LcLocale's runtime map to its internal defaults.
-
update
public static void update(java.lang.String sLocale, java.lang.String sDesc)
Updates LcLocale's runtime map with the given locale definition.
-
currencySymbol
public static java.lang.String currencySymbol()
Gets the current locale's currency symbol.- Returns:
- the currency symbol.
-
negativeSign
public static java.lang.String negativeSign()
Gets the current locale's negative sign symbol.- Returns:
- the negative sign.
-
positiveSign
public static java.lang.String positiveSign()
Get the current locale's positive sign symbol.- Returns:
- the positive sign.
-
decimalPoint
public static java.lang.String decimalPoint()
Gets the current locale's decimal point symbol.- Returns:
- the decimal point.
-
thousandsSep
public static java.lang.String thousandsSep()
Gets the current locale's thousands separator symbol.- Returns:
- the thousands separator.
-
systemDecimalPoint
public static java.lang.String systemDecimalPoint()
Gets the current system locale's decimal point symbol.- Returns:
- the decimal point, as per the operating system's database, which may differ from this database. Nonetheless, this is important because it is what is used by the Java runtime.
-
systemDecimalPointAsChar
public static char systemDecimalPointAsChar()
Gets the current system locale's decimal point symbol.- Returns:
- the decimal point, as per the operating system's database, which may differ from this database. Nonetheless, this is important because it is what is used by the Java runtime.
-
-