KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > util > LocaleISOData


1 /*
2  * @(#)LocaleISOData.java 1.3 07/02/01
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.util;
9
10 class LocaleISOData {
11     /**
12      * The 2- and 3-letter ISO 639 language codes.
13      */

14     static final String JavaDoc isoLanguageTable =
15       "aa" + "aar" // Afar
16
+ "ab" + "abk" // Abkhazian
17
+ "ae" + "ave" // Avestan
18
+ "af" + "afr" // Afrikaans
19
+ "ak" + "aka" // Akan
20
+ "am" + "amh" // Amharic
21
+ "an" + "arg" // Aragonese
22
+ "ar" + "ara" // Arabic
23
+ "as" + "asm" // Assamese
24
+ "av" + "ava" // Avaric
25
+ "ay" + "aym" // Aymara
26
+ "az" + "aze" // Azerbaijani
27
+ "ba" + "bak" // Bashkir
28
+ "be" + "bel" // Belarusian
29
+ "bg" + "bul" // Bulgarian
30
+ "bh" + "bih" // Bihari
31
+ "bi" + "bis" // Bislama
32
+ "bm" + "bam" // Bambara
33
+ "bn" + "ben" // Bengali
34
+ "bo" + "bod" // Tibetan
35
+ "br" + "bre" // Breton
36
+ "bs" + "bos" // Bosnian
37
+ "ca" + "cat" // Catalan
38
+ "ce" + "che" // Chechen
39
+ "ch" + "cha" // Chamorro
40
+ "co" + "cos" // Corsican
41
+ "cr" + "cre" // Cree
42
+ "cs" + "ces" // Czech
43
+ "cu" + "chu" // Church Slavic
44
+ "cv" + "chv" // Chuvash
45
+ "cy" + "cym" // Welsh
46
+ "da" + "dan" // Danish
47
+ "de" + "deu" // German
48
+ "dv" + "div" // Divehi
49
+ "dz" + "dzo" // Dzongkha
50
+ "ee" + "ewe" // Ewe
51
+ "el" + "ell" // Greek
52
+ "en" + "eng" // English
53
+ "eo" + "epo" // Esperanto
54
+ "es" + "spa" // Spanish
55
+ "et" + "est" // Estonian
56
+ "eu" + "eus" // Basque
57
+ "fa" + "fas" // Persian
58
+ "ff" + "ful" // Fulah
59
+ "fi" + "fin" // Finnish
60
+ "fj" + "fij" // Fijian
61
+ "fo" + "fao" // Faroese
62
+ "fr" + "fra" // French
63
+ "fy" + "fry" // Frisian
64
+ "ga" + "gle" // Irish
65
+ "gd" + "gla" // Scottish Gaelic
66
+ "gl" + "glg" // Gallegan
67
+ "gn" + "grn" // Guarani
68
+ "gu" + "guj" // Gujarati
69
+ "gv" + "glv" // Manx
70
+ "ha" + "hau" // Hausa
71
+ "he" + "heb" // Hebrew
72
+ "hi" + "hin" // Hindi
73
+ "ho" + "hmo" // Hiri Motu
74
+ "hr" + "hrv" // Croatian
75
+ "ht" + "hat" // Haitian
76
+ "hu" + "hun" // Hungarian
77
+ "hy" + "hye" // Armenian
78
+ "hz" + "her" // Herero
79
+ "ia" + "ina" // Interlingua
80
+ "id" + "ind" // Indonesian
81
+ "ie" + "ile" // Interlingue
82
+ "ig" + "ibo" // Igbo
83
+ "ii" + "iii" // Sichuan Yi
84
+ "ik" + "ipk" // Inupiaq
85
+ "in" + "ind" // Indonesian (old)
86
+ "io" + "ido" // Ido
87
+ "is" + "isl" // Icelandic
88
+ "it" + "ita" // Italian
89
+ "iu" + "iku" // Inuktitut
90
+ "iw" + "heb" // Hebrew (old)
91
+ "ja" + "jpn" // Japanese
92
+ "ji" + "yid" // Yiddish (old)
93
+ "jv" + "jav" // Javanese
94
+ "ka" + "kat" // Georgian
95
+ "kg" + "kon" // Kongo
96
+ "ki" + "kik" // Kikuyu
97
+ "kj" + "kua" // Kwanyama
98
+ "kk" + "kaz" // Kazakh
99
+ "kl" + "kal" // Greenlandic
100
+ "km" + "khm" // Khmer
101
+ "kn" + "kan" // Kannada
102
+ "ko" + "kor" // Korean
103
+ "kr" + "kau" // Kanuri
104
+ "ks" + "kas" // Kashmiri
105
+ "ku" + "kur" // Kurdish
106
+ "kv" + "kom" // Komi
107
+ "kw" + "cor" // Cornish
108
+ "ky" + "kir" // Kirghiz
109
+ "la" + "lat" // Latin
110
+ "lb" + "ltz" // Luxembourgish
111
+ "lg" + "lug" // Ganda
112
+ "li" + "lim" // Limburgish
113
+ "ln" + "lin" // Lingala
114
+ "lo" + "lao" // Lao
115
+ "lt" + "lit" // Lithuanian
116
+ "lu" + "lub" // Luba-Katanga
117
+ "lv" + "lav" // Latvian
118
+ "mg" + "mlg" // Malagasy
119
+ "mh" + "mah" // Marshallese
120
+ "mi" + "mri" // Maori
121
+ "mk" + "mkd" // Macedonian
122
+ "ml" + "mal" // Malayalam
123
+ "mn" + "mon" // Mongolian
124
+ "mo" + "mol" // Moldavian
125
+ "mr" + "mar" // Marathi
126
+ "ms" + "msa" // Malay
127
+ "mt" + "mlt" // Maltese
128
+ "my" + "mya" // Burmese
129
+ "na" + "nau" // Nauru
130
+ "nb" + "nob" // Norwegian Bokm?l
131
+ "nd" + "nde" // North Ndebele
132
+ "ne" + "nep" // Nepali
133
+ "ng" + "ndo" // Ndonga
134
+ "nl" + "nld" // Dutch
135
+ "nn" + "nno" // Norwegian Nynorsk
136
+ "no" + "nor" // Norwegian
137
+ "nr" + "nbl" // South Ndebele
138
+ "nv" + "nav" // Navajo
139
+ "ny" + "nya" // Nyanja
140
+ "oc" + "oci" // Occitan
141
+ "oj" + "oji" // Ojibwa
142
+ "om" + "orm" // Oromo
143
+ "or" + "ori" // Oriya
144
+ "os" + "oss" // Ossetian
145
+ "pa" + "pan" // Panjabi
146
+ "pi" + "pli" // Pali
147
+ "pl" + "pol" // Polish
148
+ "ps" + "pus" // Pushto
149
+ "pt" + "por" // Portuguese
150
+ "qu" + "que" // Quechua
151
+ "rm" + "roh" // Raeto-Romance
152
+ "rn" + "run" // Rundi
153
+ "ro" + "ron" // Romanian
154
+ "ru" + "rus" // Russian
155
+ "rw" + "kin" // Kinyarwanda
156
+ "sa" + "san" // Sanskrit
157
+ "sc" + "srd" // Sardinian
158
+ "sd" + "snd" // Sindhi
159
+ "se" + "sme" // Northern Sami
160
+ "sg" + "sag" // Sango
161
+ "si" + "sin" // Sinhalese
162
+ "sk" + "slk" // Slovak
163
+ "sl" + "slv" // Slovenian
164
+ "sm" + "smo" // Samoan
165
+ "sn" + "sna" // Shona
166
+ "so" + "som" // Somali
167
+ "sq" + "sqi" // Albanian
168
+ "sr" + "srp" // Serbian
169
+ "ss" + "ssw" // Swati
170
+ "st" + "sot" // Southern Sotho
171
+ "su" + "sun" // Sundanese
172
+ "sv" + "swe" // Swedish
173
+ "sw" + "swa" // Swahili
174
+ "ta" + "tam" // Tamil
175
+ "te" + "tel" // Telugu
176
+ "tg" + "tgk" // Tajik
177
+ "th" + "tha" // Thai
178
+ "ti" + "tir" // Tigrinya
179
+ "tk" + "tuk" // Turkmen
180
+ "tl" + "tgl" // Tagalog
181
+ "tn" + "tsn" // Tswana
182
+ "to" + "ton" // Tonga
183
+ "tr" + "tur" // Turkish
184
+ "ts" + "tso" // Tsonga
185
+ "tt" + "tat" // Tatar
186
+ "tw" + "twi" // Twi
187
+ "ty" + "tah" // Tahitian
188
+ "ug" + "uig" // Uighur
189
+ "uk" + "ukr" // Ukrainian
190
+ "ur" + "urd" // Urdu
191
+ "uz" + "uzb" // Uzbek
192
+ "ve" + "ven" // Venda
193
+ "vi" + "vie" // Vietnamese
194
+ "vo" + "vol" // Volap?k
195
+ "wa" + "wln" // Walloon
196
+ "wo" + "wol" // Wolof
197
+ "xh" + "xho" // Xhosa
198
+ "yi" + "yid" // Yiddish
199
+ "yo" + "yor" // Yoruba
200
+ "za" + "zha" // Zhuang
201
+ "zh" + "zho" // Chinese
202
+ "zu" + "zul" // Zulu
203
;
204
205     /**
206      * The 2- and 3-letter ISO 3166 country codes.
207      */

208     static final String JavaDoc isoCountryTable =
209       "AD" + "AND" // Andorra, Principality of
210
+ "AE" + "ARE" // United Arab Emirates
211
+ "AF" + "AFG" // Afghanistan
212
+ "AG" + "ATG" // Antigua and Barbuda
213
+ "AI" + "AIA" // Anguilla
214
+ "AL" + "ALB" // Albania, People's Socialist Republic of
215
+ "AM" + "ARM" // Armenia
216
+ "AN" + "ANT" // Netherlands Antilles
217
+ "AO" + "AGO" // Angola, Republic of
218
+ "AQ" + "ATA" // Antarctica (the territory South of 60 deg S)
219
+ "AR" + "ARG" // Argentina, Argentine Republic
220
+ "AS" + "ASM" // American Samoa
221
+ "AT" + "AUT" // Austria, Republic of
222
+ "AU" + "AUS" // Australia, Commonwealth of
223
+ "AW" + "ABW" // Aruba
224
+ "AX" + "ALA" // \u00c5land Islands
225
+ "AZ" + "AZE" // Azerbaijan, Republic of
226
+ "BA" + "BIH" // Bosnia and Herzegovina
227
+ "BB" + "BRB" // Barbados
228
+ "BD" + "BGD" // Bangladesh, People's Republic of
229
+ "BE" + "BEL" // Belgium, Kingdom of
230
+ "BF" + "BFA" // Burkina Faso
231
+ "BG" + "BGR" // Bulgaria, People's Republic of
232
+ "BH" + "BHR" // Bahrain, Kingdom of
233
+ "BI" + "BDI" // Burundi, Republic of
234
+ "BJ" + "BEN" // Benin, People's Republic of
235
+ "BM" + "BMU" // Bermuda
236
+ "BN" + "BRN" // Brunei Darussalam
237
+ "BO" + "BOL" // Bolivia, Republic of
238
+ "BR" + "BRA" // Brazil, Federative Republic of
239
+ "BS" + "BHS" // Bahamas, Commonwealth of the
240
+ "BT" + "BTN" // Bhutan, Kingdom of
241
+ "BV" + "BVT" // Bouvet Island (Bouvetoya)
242
+ "BW" + "BWA" // Botswana, Republic of
243
+ "BY" + "BLR" // Belarus
244
+ "BZ" + "BLZ" // Belize
245
+ "CA" + "CAN" // Canada
246
+ "CC" + "CCK" // Cocos (Keeling) Islands
247
+ "CD" + "COD" // Congo, Democratic Republic of
248
+ "CF" + "CAF" // Central African Republic
249
+ "CG" + "COG" // Congo, People's Republic of
250
+ "CH" + "CHE" // Switzerland, Swiss Confederation
251
+ "CI" + "CIV" // Cote D'Ivoire, Ivory Coast, Republic of the
252
+ "CK" + "COK" // Cook Islands
253
+ "CL" + "CHL" // Chile, Republic of
254
+ "CM" + "CMR" // Cameroon, United Republic of
255
+ "CN" + "CHN" // China, People's Republic of
256
+ "CO" + "COL" // Colombia, Republic of
257
+ "CR" + "CRI" // Costa Rica, Republic of
258
+ "CS" + "SCG" // Serbia and Montenegro
259
+ "CU" + "CUB" // Cuba, Republic of
260
+ "CV" + "CPV" // Cape Verde, Republic of
261
+ "CX" + "CXR" // Christmas Island
262
+ "CY" + "CYP" // Cyprus, Republic of
263
+ "CZ" + "CZE" // Czech Republic
264
+ "DE" + "DEU" // Germany
265
+ "DJ" + "DJI" // Djibouti, Republic of
266
+ "DK" + "DNK" // Denmark, Kingdom of
267
+ "DM" + "DMA" // Dominica, Commonwealth of
268
+ "DO" + "DOM" // Dominican Republic
269
+ "DZ" + "DZA" // Algeria, People's Democratic Republic of
270
+ "EC" + "ECU" // Ecuador, Republic of
271
+ "EE" + "EST" // Estonia
272
+ "EG" + "EGY" // Egypt, Arab Republic of
273
+ "EH" + "ESH" // Western Sahara
274
+ "ER" + "ERI" // Eritrea
275
+ "ES" + "ESP" // Spain, Spanish State
276
+ "ET" + "ETH" // Ethiopia
277
+ "FI" + "FIN" // Finland, Republic of
278
+ "FJ" + "FJI" // Fiji, Republic of the Fiji Islands
279
+ "FK" + "FLK" // Falkland Islands (Malvinas)
280
+ "FM" + "FSM" // Micronesia, Federated States of
281
+ "FO" + "FRO" // Faeroe Islands
282
+ "FR" + "FRA" // France, French Republic
283
+ "GA" + "GAB" // Gabon, Gabonese Republic
284
+ "GB" + "GBR" // United Kingdom of Great Britain & N. Ireland
285
+ "GD" + "GRD" // Grenada
286
+ "GE" + "GEO" // Georgia
287
+ "GF" + "GUF" // French Guiana
288
+ "GH" + "GHA" // Ghana, Republic of
289
+ "GI" + "GIB" // Gibraltar
290
+ "GL" + "GRL" // Greenland
291
+ "GM" + "GMB" // Gambia, Republic of the
292
+ "GN" + "GIN" // Guinea, Revolutionary People's Rep'c of
293
+ "GP" + "GLP" // Guadaloupe
294
+ "GQ" + "GNQ" // Equatorial Guinea, Republic of
295
+ "GR" + "GRC" // Greece, Hellenic Republic
296
+ "GS" + "SGS" // South Georgia and the South Sandwich Islands
297
+ "GT" + "GTM" // Guatemala, Republic of
298
+ "GU" + "GUM" // Guam
299
+ "GW" + "GNB" // Guinea-Bissau, Republic of
300
+ "GY" + "GUY" // Guyana, Republic of
301
+ "HK" + "HKG" // Hong Kong, Special Administrative Region of China
302
+ "HM" + "HMD" // Heard and McDonald Islands
303
+ "HN" + "HND" // Honduras, Republic of
304
+ "HR" + "HRV" // Hrvatska (Croatia)
305
+ "HT" + "HTI" // Haiti, Republic of
306
+ "HU" + "HUN" // Hungary, Hungarian People's Republic
307
+ "ID" + "IDN" // Indonesia, Republic of
308
+ "IE" + "IRL" // Ireland
309
+ "IL" + "ISR" // Israel, State of
310
+ "IN" + "IND" // India, Republic of
311
+ "IO" + "IOT" // British Indian Ocean Territory (Chagos Archipelago)
312
+ "IQ" + "IRQ" // Iraq, Republic of
313
+ "IR" + "IRN" // Iran, Islamic Republic of
314
+ "IS" + "ISL" // Iceland, Republic of
315
+ "IT" + "ITA" // Italy, Italian Republic
316
+ "JM" + "JAM" // Jamaica
317
+ "JO" + "JOR" // Jordan, Hashemite Kingdom of
318
+ "JP" + "JPN" // Japan
319
+ "KE" + "KEN" // Kenya, Republic of
320
+ "KG" + "KGZ" // Kyrgyz Republic
321
+ "KH" + "KHM" // Cambodia, Kingdom of
322
+ "KI" + "KIR" // Kiribati, Republic of
323
+ "KM" + "COM" // Comoros, Union of the
324
+ "KN" + "KNA" // St. Kitts and Nevis
325
+ "KP" + "PRK" // Korea, Democratic People's Republic of
326
+ "KR" + "KOR" // Korea, Republic of
327
+ "KW" + "KWT" // Kuwait, State of
328
+ "KY" + "CYM" // Cayman Islands
329
+ "KZ" + "KAZ" // Kazakhstan, Republic of
330
+ "LA" + "LAO" // Lao People's Democratic Republic
331
+ "LB" + "LBN" // Lebanon, Lebanese Republic
332
+ "LC" + "LCA" // St. Lucia
333
+ "LI" + "LIE" // Liechtenstein, Principality of
334
+ "LK" + "LKA" // Sri Lanka, Democratic Socialist Republic of
335
+ "LR" + "LBR" // Liberia, Republic of
336
+ "LS" + "LSO" // Lesotho, Kingdom of
337
+ "LT" + "LTU" // Lithuania
338
+ "LU" + "LUX" // Luxembourg, Grand Duchy of
339
+ "LV" + "LVA" // Latvia
340
+ "LY" + "LBY" // Libyan Arab Jamahiriya
341
+ "MA" + "MAR" // Morocco, Kingdom of
342
+ "MC" + "MCO" // Monaco, Principality of
343
+ "MD" + "MDA" // Moldova, Republic of
344
+ "ME" + "MNE" // Montenegro, Republic of
345
+ "MG" + "MDG" // Madagascar, Republic of
346
+ "MH" + "MHL" // Marshall Islands
347
+ "MK" + "MKD" // Macedonia, the former Yugoslav Republic of
348
+ "ML" + "MLI" // Mali, Republic of
349
+ "MM" + "MMR" // Myanmar
350
+ "MN" + "MNG" // Mongolia, Mongolian People's Republic
351
+ "MO" + "MAC" // Macao, Special Administrative Region of China
352
+ "MP" + "MNP" // Northern Mariana Islands
353
+ "MQ" + "MTQ" // Martinique
354
+ "MR" + "MRT" // Mauritania, Islamic Republic of
355
+ "MS" + "MSR" // Montserrat
356
+ "MT" + "MLT" // Malta, Republic of
357
+ "MU" + "MUS" // Mauritius
358
+ "MV" + "MDV" // Maldives, Republic of
359
+ "MW" + "MWI" // Malawi, Republic of
360
+ "MX" + "MEX" // Mexico, United Mexican States
361
+ "MY" + "MYS" // Malaysia
362
+ "MZ" + "MOZ" // Mozambique, People's Republic of
363
+ "NA" + "NAM" // Namibia
364
+ "NC" + "NCL" // New Caledonia
365
+ "NE" + "NER" // Niger, Republic of the
366
+ "NF" + "NFK" // Norfolk Island
367
+ "NG" + "NGA" // Nigeria, Federal Republic of
368
+ "NI" + "NIC" // Nicaragua, Republic of
369
+ "NL" + "NLD" // Netherlands, Kingdom of the
370
+ "NO" + "NOR" // Norway, Kingdom of
371
+ "NP" + "NPL" // Nepal, Kingdom of
372
+ "NR" + "NRU" // Nauru, Republic of
373
+ "NU" + "NIU" // Niue, Republic of
374
+ "NZ" + "NZL" // New Zealand
375
+ "OM" + "OMN" // Oman, Sultanate of
376
+ "PA" + "PAN" // Panama, Republic of
377
+ "PE" + "PER" // Peru, Republic of
378
+ "PF" + "PYF" // French Polynesia
379
+ "PG" + "PNG" // Papua New Guinea
380
+ "PH" + "PHL" // Philippines, Republic of the
381
+ "PK" + "PAK" // Pakistan, Islamic Republic of
382
+ "PL" + "POL" // Poland, Polish People's Republic
383
+ "PM" + "SPM" // St. Pierre and Miquelon
384
+ "PN" + "PCN" // Pitcairn Island
385
+ "PR" + "PRI" // Puerto Rico
386
+ "PS" + "PSE" // Palestinian Territory, Occupied
387
+ "PT" + "PRT" // Portugal, Portuguese Republic
388
+ "PW" + "PLW" // Palau
389
+ "PY" + "PRY" // Paraguay, Republic of
390
+ "QA" + "QAT" // Qatar, State of
391
+ "RE" + "REU" // Reunion
392
+ "RO" + "ROU" // Romania, Socialist Republic of
393
+ "RS" + "SRB" // Serbia, Republic of
394
+ "RU" + "RUS" // Russian Federation
395
+ "RW" + "RWA" // Rwanda, Rwandese Republic
396
+ "SA" + "SAU" // Saudi Arabia, Kingdom of
397
+ "SB" + "SLB" // Solomon Islands
398
+ "SC" + "SYC" // Seychelles, Republic of
399
+ "SD" + "SDN" // Sudan, Democratic Republic of the
400
+ "SE" + "SWE" // Sweden, Kingdom of
401
+ "SG" + "SGP" // Singapore, Republic of
402
+ "SH" + "SHN" // St. Helena
403
+ "SI" + "SVN" // Slovenia
404
+ "SJ" + "SJM" // Svalbard & Jan Mayen Islands
405
+ "SK" + "SVK" // Slovakia (Slovak Republic)
406
+ "SL" + "SLE" // Sierra Leone, Republic of
407
+ "SM" + "SMR" // San Marino, Republic of
408
+ "SN" + "SEN" // Senegal, Republic of
409
+ "SO" + "SOM" // Somalia, Somali Republic
410
+ "SR" + "SUR" // Suriname, Republic of
411
+ "ST" + "STP" // Sao Tome and Principe, Democratic Republic of
412
+ "SV" + "SLV" // El Salvador, Republic of
413
+ "SY" + "SYR" // Syrian Arab Republic
414
+ "SZ" + "SWZ" // Swaziland, Kingdom of
415
+ "TC" + "TCA" // Turks and Caicos Islands
416
+ "TD" + "TCD" // Chad, Republic of
417
+ "TF" + "ATF" // French Southern Territories
418
+ "TG" + "TGO" // Togo, Togolese Republic
419
+ "TH" + "THA" // Thailand, Kingdom of
420
+ "TJ" + "TJK" // Tajikistan
421
+ "TK" + "TKL" // Tokelau (Tokelau Islands)
422
+ "TL" + "TLS" // Timor-Leste, Democratic Republic of
423
+ "TM" + "TKM" // Turkmenistan
424
+ "TN" + "TUN" // Tunisia, Republic of
425
+ "TO" + "TON" // Tonga, Kingdom of
426
+ "TR" + "TUR" // Turkey, Republic of
427
+ "TT" + "TTO" // Trinidad and Tobago, Republic of
428
+ "TV" + "TUV" // Tuvalu
429
+ "TW" + "TWN" // Taiwan, Province of China
430
+ "TZ" + "TZA" // Tanzania, United Republic of
431
+ "UA" + "UKR" // Ukraine
432
+ "UG" + "UGA" // Uganda, Republic of
433
+ "UM" + "UMI" // United States Minor Outlying Islands
434
+ "US" + "USA" // United States of America
435
+ "UY" + "URY" // Uruguay, Eastern Republic of
436
+ "UZ" + "UZB" // Uzbekistan
437
+ "VA" + "VAT" // Holy See (Vatican City State)
438
+ "VC" + "VCT" // St. Vincent and the Grenadines
439
+ "VE" + "VEN" // Venezuela, Bolivarian Republic of
440
+ "VG" + "VGB" // British Virgin Islands
441
+ "VI" + "VIR" // US Virgin Islands
442
+ "VN" + "VNM" // Viet Nam, Socialist Republic of
443
+ "VU" + "VUT" // Vanuatu
444
+ "WF" + "WLF" // Wallis and Futuna Islands
445
+ "WS" + "WSM" // Samoa, Independent State of
446
+ "YE" + "YEM" // Yemen
447
+ "YT" + "MYT" // Mayotte
448
+ "ZA" + "ZAF" // South Africa, Republic of
449
+ "ZM" + "ZMB" // Zambia, Republic of
450
+ "ZW" + "ZWE" // Zimbabwe
451
;
452
453     private LocaleISOData() {
454     }
455 }
456
Popular Tags