001 /*
002 * Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved.
003 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
004 *
005 * This code is free software; you can redistribute it and/or modify it
006 * under the terms of the GNU General Public License version 2 only, as
007 * published by the Free Software Foundation. Sun designates this
008 * particular file as subject to the "Classpath" exception as provided
009 * by Sun in the LICENSE file that accompanied this code.
010 *
011 * This code is distributed in the hope that it will be useful, but WITHOUT
012 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
013 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
014 * version 2 for more details (a copy is included in the LICENSE file that
015 * accompanied this code).
016 *
017 * You should have received a copy of the GNU General Public License version
018 * 2 along with this work; if not, write to the Free Software Foundation,
019 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
020 *
021 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
022 * CA 95054 USA or visit www.sun.com if you need additional information or
023 * have any questions.
024 */
025
026 package java.util;
027
028 class LocaleISOData {
029 /**
030 * The 2- and 3-letter ISO 639 language codes.
031 */
032 static final String isoLanguageTable = "aa" + "aar" // Afar
033 + "ab" + "abk" // Abkhazian
034 + "ae" + "ave" // Avestan
035 + "af" + "afr" // Afrikaans
036 + "ak" + "aka" // Akan
037 + "am" + "amh" // Amharic
038 + "an" + "arg" // Aragonese
039 + "ar" + "ara" // Arabic
040 + "as" + "asm" // Assamese
041 + "av" + "ava" // Avaric
042 + "ay" + "aym" // Aymara
043 + "az" + "aze" // Azerbaijani
044 + "ba" + "bak" // Bashkir
045 + "be" + "bel" // Belarusian
046 + "bg" + "bul" // Bulgarian
047 + "bh" + "bih" // Bihari
048 + "bi" + "bis" // Bislama
049 + "bm" + "bam" // Bambara
050 + "bn" + "ben" // Bengali
051 + "bo" + "bod" // Tibetan
052 + "br" + "bre" // Breton
053 + "bs" + "bos" // Bosnian
054 + "ca" + "cat" // Catalan
055 + "ce" + "che" // Chechen
056 + "ch" + "cha" // Chamorro
057 + "co" + "cos" // Corsican
058 + "cr" + "cre" // Cree
059 + "cs" + "ces" // Czech
060 + "cu" + "chu" // Church Slavic
061 + "cv" + "chv" // Chuvash
062 + "cy" + "cym" // Welsh
063 + "da" + "dan" // Danish
064 + "de" + "deu" // German
065 + "dv" + "div" // Divehi
066 + "dz" + "dzo" // Dzongkha
067 + "ee" + "ewe" // Ewe
068 + "el" + "ell" // Greek
069 + "en" + "eng" // English
070 + "eo" + "epo" // Esperanto
071 + "es" + "spa" // Spanish
072 + "et" + "est" // Estonian
073 + "eu" + "eus" // Basque
074 + "fa" + "fas" // Persian
075 + "ff" + "ful" // Fulah
076 + "fi" + "fin" // Finnish
077 + "fj" + "fij" // Fijian
078 + "fo" + "fao" // Faroese
079 + "fr" + "fra" // French
080 + "fy" + "fry" // Frisian
081 + "ga" + "gle" // Irish
082 + "gd" + "gla" // Scottish Gaelic
083 + "gl" + "glg" // Gallegan
084 + "gn" + "grn" // Guarani
085 + "gu" + "guj" // Gujarati
086 + "gv" + "glv" // Manx
087 + "ha" + "hau" // Hausa
088 + "he" + "heb" // Hebrew
089 + "hi" + "hin" // Hindi
090 + "ho" + "hmo" // Hiri Motu
091 + "hr" + "hrv" // Croatian
092 + "ht" + "hat" // Haitian
093 + "hu" + "hun" // Hungarian
094 + "hy" + "hye" // Armenian
095 + "hz" + "her" // Herero
096 + "ia" + "ina" // Interlingua
097 + "id" + "ind" // Indonesian
098 + "ie" + "ile" // Interlingue
099 + "ig" + "ibo" // Igbo
100 + "ii" + "iii" // Sichuan Yi
101 + "ik" + "ipk" // Inupiaq
102 + "in" + "ind" // Indonesian (old)
103 + "io" + "ido" // Ido
104 + "is" + "isl" // Icelandic
105 + "it" + "ita" // Italian
106 + "iu" + "iku" // Inuktitut
107 + "iw" + "heb" // Hebrew (old)
108 + "ja" + "jpn" // Japanese
109 + "ji" + "yid" // Yiddish (old)
110 + "jv" + "jav" // Javanese
111 + "ka" + "kat" // Georgian
112 + "kg" + "kon" // Kongo
113 + "ki" + "kik" // Kikuyu
114 + "kj" + "kua" // Kwanyama
115 + "kk" + "kaz" // Kazakh
116 + "kl" + "kal" // Greenlandic
117 + "km" + "khm" // Khmer
118 + "kn" + "kan" // Kannada
119 + "ko" + "kor" // Korean
120 + "kr" + "kau" // Kanuri
121 + "ks" + "kas" // Kashmiri
122 + "ku" + "kur" // Kurdish
123 + "kv" + "kom" // Komi
124 + "kw" + "cor" // Cornish
125 + "ky" + "kir" // Kirghiz
126 + "la" + "lat" // Latin
127 + "lb" + "ltz" // Luxembourgish
128 + "lg" + "lug" // Ganda
129 + "li" + "lim" // Limburgish
130 + "ln" + "lin" // Lingala
131 + "lo" + "lao" // Lao
132 + "lt" + "lit" // Lithuanian
133 + "lu" + "lub" // Luba-Katanga
134 + "lv" + "lav" // Latvian
135 + "mg" + "mlg" // Malagasy
136 + "mh" + "mah" // Marshallese
137 + "mi" + "mri" // Maori
138 + "mk" + "mkd" // Macedonian
139 + "ml" + "mal" // Malayalam
140 + "mn" + "mon" // Mongolian
141 + "mo" + "mol" // Moldavian
142 + "mr" + "mar" // Marathi
143 + "ms" + "msa" // Malay
144 + "mt" + "mlt" // Maltese
145 + "my" + "mya" // Burmese
146 + "na" + "nau" // Nauru
147 + "nb" + "nob" // Norwegian Bokm?l
148 + "nd" + "nde" // North Ndebele
149 + "ne" + "nep" // Nepali
150 + "ng" + "ndo" // Ndonga
151 + "nl" + "nld" // Dutch
152 + "nn" + "nno" // Norwegian Nynorsk
153 + "no" + "nor" // Norwegian
154 + "nr" + "nbl" // South Ndebele
155 + "nv" + "nav" // Navajo
156 + "ny" + "nya" // Nyanja
157 + "oc" + "oci" // Occitan
158 + "oj" + "oji" // Ojibwa
159 + "om" + "orm" // Oromo
160 + "or" + "ori" // Oriya
161 + "os" + "oss" // Ossetian
162 + "pa" + "pan" // Panjabi
163 + "pi" + "pli" // Pali
164 + "pl" + "pol" // Polish
165 + "ps" + "pus" // Pushto
166 + "pt" + "por" // Portuguese
167 + "qu" + "que" // Quechua
168 + "rm" + "roh" // Raeto-Romance
169 + "rn" + "run" // Rundi
170 + "ro" + "ron" // Romanian
171 + "ru" + "rus" // Russian
172 + "rw" + "kin" // Kinyarwanda
173 + "sa" + "san" // Sanskrit
174 + "sc" + "srd" // Sardinian
175 + "sd" + "snd" // Sindhi
176 + "se" + "sme" // Northern Sami
177 + "sg" + "sag" // Sango
178 + "si" + "sin" // Sinhalese
179 + "sk" + "slk" // Slovak
180 + "sl" + "slv" // Slovenian
181 + "sm" + "smo" // Samoan
182 + "sn" + "sna" // Shona
183 + "so" + "som" // Somali
184 + "sq" + "sqi" // Albanian
185 + "sr" + "srp" // Serbian
186 + "ss" + "ssw" // Swati
187 + "st" + "sot" // Southern Sotho
188 + "su" + "sun" // Sundanese
189 + "sv" + "swe" // Swedish
190 + "sw" + "swa" // Swahili
191 + "ta" + "tam" // Tamil
192 + "te" + "tel" // Telugu
193 + "tg" + "tgk" // Tajik
194 + "th" + "tha" // Thai
195 + "ti" + "tir" // Tigrinya
196 + "tk" + "tuk" // Turkmen
197 + "tl" + "tgl" // Tagalog
198 + "tn" + "tsn" // Tswana
199 + "to" + "ton" // Tonga
200 + "tr" + "tur" // Turkish
201 + "ts" + "tso" // Tsonga
202 + "tt" + "tat" // Tatar
203 + "tw" + "twi" // Twi
204 + "ty" + "tah" // Tahitian
205 + "ug" + "uig" // Uighur
206 + "uk" + "ukr" // Ukrainian
207 + "ur" + "urd" // Urdu
208 + "uz" + "uzb" // Uzbek
209 + "ve" + "ven" // Venda
210 + "vi" + "vie" // Vietnamese
211 + "vo" + "vol" // Volap?k
212 + "wa" + "wln" // Walloon
213 + "wo" + "wol" // Wolof
214 + "xh" + "xho" // Xhosa
215 + "yi" + "yid" // Yiddish
216 + "yo" + "yor" // Yoruba
217 + "za" + "zha" // Zhuang
218 + "zh" + "zho" // Chinese
219 + "zu" + "zul" // Zulu
220 ;
221
222 /**
223 * The 2- and 3-letter ISO 3166 country codes.
224 */
225 static final String isoCountryTable = "AD" + "AND" // Andorra, Principality of
226 + "AE" + "ARE" // United Arab Emirates
227 + "AF" + "AFG" // Afghanistan
228 + "AG" + "ATG" // Antigua and Barbuda
229 + "AI" + "AIA" // Anguilla
230 + "AL" + "ALB" // Albania, People's Socialist Republic of
231 + "AM" + "ARM" // Armenia
232 + "AN" + "ANT" // Netherlands Antilles
233 + "AO" + "AGO" // Angola, Republic of
234 + "AQ" + "ATA" // Antarctica (the territory South of 60 deg S)
235 + "AR" + "ARG" // Argentina, Argentine Republic
236 + "AS" + "ASM" // American Samoa
237 + "AT" + "AUT" // Austria, Republic of
238 + "AU" + "AUS" // Australia, Commonwealth of
239 + "AW" + "ABW" // Aruba
240 + "AX" + "ALA" // \u00c5land Islands
241 + "AZ" + "AZE" // Azerbaijan, Republic of
242 + "BA" + "BIH" // Bosnia and Herzegovina
243 + "BB" + "BRB" // Barbados
244 + "BD" + "BGD" // Bangladesh, People's Republic of
245 + "BE" + "BEL" // Belgium, Kingdom of
246 + "BF" + "BFA" // Burkina Faso
247 + "BG" + "BGR" // Bulgaria, People's Republic of
248 + "BH" + "BHR" // Bahrain, Kingdom of
249 + "BI" + "BDI" // Burundi, Republic of
250 + "BJ" + "BEN" // Benin, People's Republic of
251 + "BM" + "BMU" // Bermuda
252 + "BN" + "BRN" // Brunei Darussalam
253 + "BO" + "BOL" // Bolivia, Republic of
254 + "BR" + "BRA" // Brazil, Federative Republic of
255 + "BS" + "BHS" // Bahamas, Commonwealth of the
256 + "BT" + "BTN" // Bhutan, Kingdom of
257 + "BV" + "BVT" // Bouvet Island (Bouvetoya)
258 + "BW" + "BWA" // Botswana, Republic of
259 + "BY" + "BLR" // Belarus
260 + "BZ" + "BLZ" // Belize
261 + "CA" + "CAN" // Canada
262 + "CC" + "CCK" // Cocos (Keeling) Islands
263 + "CD" + "COD" // Congo, Democratic Republic of
264 + "CF" + "CAF" // Central African Republic
265 + "CG" + "COG" // Congo, People's Republic of
266 + "CH" + "CHE" // Switzerland, Swiss Confederation
267 + "CI" + "CIV" // Cote D'Ivoire, Ivory Coast, Republic of the
268 + "CK" + "COK" // Cook Islands
269 + "CL" + "CHL" // Chile, Republic of
270 + "CM" + "CMR" // Cameroon, United Republic of
271 + "CN" + "CHN" // China, People's Republic of
272 + "CO" + "COL" // Colombia, Republic of
273 + "CR" + "CRI" // Costa Rica, Republic of
274 + "CS" + "SCG" // Serbia and Montenegro
275 + "CU" + "CUB" // Cuba, Republic of
276 + "CV" + "CPV" // Cape Verde, Republic of
277 + "CX" + "CXR" // Christmas Island
278 + "CY" + "CYP" // Cyprus, Republic of
279 + "CZ" + "CZE" // Czech Republic
280 + "DE" + "DEU" // Germany
281 + "DJ" + "DJI" // Djibouti, Republic of
282 + "DK" + "DNK" // Denmark, Kingdom of
283 + "DM" + "DMA" // Dominica, Commonwealth of
284 + "DO" + "DOM" // Dominican Republic
285 + "DZ" + "DZA" // Algeria, People's Democratic Republic of
286 + "EC" + "ECU" // Ecuador, Republic of
287 + "EE" + "EST" // Estonia
288 + "EG" + "EGY" // Egypt, Arab Republic of
289 + "EH" + "ESH" // Western Sahara
290 + "ER" + "ERI" // Eritrea
291 + "ES" + "ESP" // Spain, Spanish State
292 + "ET" + "ETH" // Ethiopia
293 + "FI" + "FIN" // Finland, Republic of
294 + "FJ" + "FJI" // Fiji, Republic of the Fiji Islands
295 + "FK" + "FLK" // Falkland Islands (Malvinas)
296 + "FM" + "FSM" // Micronesia, Federated States of
297 + "FO" + "FRO" // Faeroe Islands
298 + "FR" + "FRA" // France, French Republic
299 + "GA" + "GAB" // Gabon, Gabonese Republic
300 + "GB" + "GBR" // United Kingdom of Great Britain & N. Ireland
301 + "GD" + "GRD" // Grenada
302 + "GE" + "GEO" // Georgia
303 + "GF" + "GUF" // French Guiana
304 + "GG" + "GGY" // Guernsey
305 + "GH" + "GHA" // Ghana, Republic of
306 + "GI" + "GIB" // Gibraltar
307 + "GL" + "GRL" // Greenland
308 + "GM" + "GMB" // Gambia, Republic of the
309 + "GN" + "GIN" // Guinea, Revolutionary People's Rep'c of
310 + "GP" + "GLP" // Guadaloupe
311 + "GQ" + "GNQ" // Equatorial Guinea, Republic of
312 + "GR" + "GRC" // Greece, Hellenic Republic
313 + "GS" + "SGS" // South Georgia and the South Sandwich Islands
314 + "GT" + "GTM" // Guatemala, Republic of
315 + "GU" + "GUM" // Guam
316 + "GW" + "GNB" // Guinea-Bissau, Republic of
317 + "GY" + "GUY" // Guyana, Republic of
318 + "HK" + "HKG" // Hong Kong, Special Administrative Region of China
319 + "HM" + "HMD" // Heard and McDonald Islands
320 + "HN" + "HND" // Honduras, Republic of
321 + "HR" + "HRV" // Hrvatska (Croatia)
322 + "HT" + "HTI" // Haiti, Republic of
323 + "HU" + "HUN" // Hungary, Hungarian People's Republic
324 + "ID" + "IDN" // Indonesia, Republic of
325 + "IE" + "IRL" // Ireland
326 + "IL" + "ISR" // Israel, State of
327 + "IM" + "IMN" // Isle of Man
328 + "IN" + "IND" // India, Republic of
329 + "IO" + "IOT" // British Indian Ocean Territory (Chagos Archipelago)
330 + "IQ" + "IRQ" // Iraq, Republic of
331 + "IR" + "IRN" // Iran, Islamic Republic of
332 + "IS" + "ISL" // Iceland, Republic of
333 + "IT" + "ITA" // Italy, Italian Republic
334 + "JE" + "JEY" // Jersey
335 + "JM" + "JAM" // Jamaica
336 + "JO" + "JOR" // Jordan, Hashemite Kingdom of
337 + "JP" + "JPN" // Japan
338 + "KE" + "KEN" // Kenya, Republic of
339 + "KG" + "KGZ" // Kyrgyz Republic
340 + "KH" + "KHM" // Cambodia, Kingdom of
341 + "KI" + "KIR" // Kiribati, Republic of
342 + "KM" + "COM" // Comoros, Union of the
343 + "KN" + "KNA" // St. Kitts and Nevis
344 + "KP" + "PRK" // Korea, Democratic People's Republic of
345 + "KR" + "KOR" // Korea, Republic of
346 + "KW" + "KWT" // Kuwait, State of
347 + "KY" + "CYM" // Cayman Islands
348 + "KZ" + "KAZ" // Kazakhstan, Republic of
349 + "LA" + "LAO" // Lao People's Democratic Republic
350 + "LB" + "LBN" // Lebanon, Lebanese Republic
351 + "LC" + "LCA" // St. Lucia
352 + "LI" + "LIE" // Liechtenstein, Principality of
353 + "LK" + "LKA" // Sri Lanka, Democratic Socialist Republic of
354 + "LR" + "LBR" // Liberia, Republic of
355 + "LS" + "LSO" // Lesotho, Kingdom of
356 + "LT" + "LTU" // Lithuania
357 + "LU" + "LUX" // Luxembourg, Grand Duchy of
358 + "LV" + "LVA" // Latvia
359 + "LY" + "LBY" // Libyan Arab Jamahiriya
360 + "MA" + "MAR" // Morocco, Kingdom of
361 + "MC" + "MCO" // Monaco, Principality of
362 + "MD" + "MDA" // Moldova, Republic of
363 + "ME" + "MNE" // Montenegro, Republic of
364 + "MG" + "MDG" // Madagascar, Republic of
365 + "MH" + "MHL" // Marshall Islands
366 + "MK" + "MKD" // Macedonia, the former Yugoslav Republic of
367 + "ML" + "MLI" // Mali, Republic of
368 + "MM" + "MMR" // Myanmar
369 + "MN" + "MNG" // Mongolia, Mongolian People's Republic
370 + "MO" + "MAC" // Macao, Special Administrative Region of China
371 + "MP" + "MNP" // Northern Mariana Islands
372 + "MQ" + "MTQ" // Martinique
373 + "MR" + "MRT" // Mauritania, Islamic Republic of
374 + "MS" + "MSR" // Montserrat
375 + "MT" + "MLT" // Malta, Republic of
376 + "MU" + "MUS" // Mauritius
377 + "MV" + "MDV" // Maldives, Republic of
378 + "MW" + "MWI" // Malawi, Republic of
379 + "MX" + "MEX" // Mexico, United Mexican States
380 + "MY" + "MYS" // Malaysia
381 + "MZ" + "MOZ" // Mozambique, People's Republic of
382 + "NA" + "NAM" // Namibia
383 + "NC" + "NCL" // New Caledonia
384 + "NE" + "NER" // Niger, Republic of the
385 + "NF" + "NFK" // Norfolk Island
386 + "NG" + "NGA" // Nigeria, Federal Republic of
387 + "NI" + "NIC" // Nicaragua, Republic of
388 + "NL" + "NLD" // Netherlands, Kingdom of the
389 + "NO" + "NOR" // Norway, Kingdom of
390 + "NP" + "NPL" // Nepal, Kingdom of
391 + "NR" + "NRU" // Nauru, Republic of
392 + "NU" + "NIU" // Niue, Republic of
393 + "NZ" + "NZL" // New Zealand
394 + "OM" + "OMN" // Oman, Sultanate of
395 + "PA" + "PAN" // Panama, Republic of
396 + "PE" + "PER" // Peru, Republic of
397 + "PF" + "PYF" // French Polynesia
398 + "PG" + "PNG" // Papua New Guinea
399 + "PH" + "PHL" // Philippines, Republic of the
400 + "PK" + "PAK" // Pakistan, Islamic Republic of
401 + "PL" + "POL" // Poland, Polish People's Republic
402 + "PM" + "SPM" // St. Pierre and Miquelon
403 + "PN" + "PCN" // Pitcairn Island
404 + "PR" + "PRI" // Puerto Rico
405 + "PS" + "PSE" // Palestinian Territory, Occupied
406 + "PT" + "PRT" // Portugal, Portuguese Republic
407 + "PW" + "PLW" // Palau
408 + "PY" + "PRY" // Paraguay, Republic of
409 + "QA" + "QAT" // Qatar, State of
410 + "RE" + "REU" // Reunion
411 + "RO" + "ROU" // Romania, Socialist Republic of
412 + "RS" + "SRB" // Serbia, Republic of
413 + "RU" + "RUS" // Russian Federation
414 + "RW" + "RWA" // Rwanda, Rwandese Republic
415 + "SA" + "SAU" // Saudi Arabia, Kingdom of
416 + "SB" + "SLB" // Solomon Islands
417 + "SC" + "SYC" // Seychelles, Republic of
418 + "SD" + "SDN" // Sudan, Democratic Republic of the
419 + "SE" + "SWE" // Sweden, Kingdom of
420 + "SG" + "SGP" // Singapore, Republic of
421 + "SH" + "SHN" // St. Helena
422 + "SI" + "SVN" // Slovenia
423 + "SJ" + "SJM" // Svalbard & Jan Mayen Islands
424 + "SK" + "SVK" // Slovakia (Slovak Republic)
425 + "SL" + "SLE" // Sierra Leone, Republic of
426 + "SM" + "SMR" // San Marino, Republic of
427 + "SN" + "SEN" // Senegal, Republic of
428 + "SO" + "SOM" // Somalia, Somali Republic
429 + "SR" + "SUR" // Suriname, Republic of
430 + "ST" + "STP" // Sao Tome and Principe, Democratic Republic of
431 + "SV" + "SLV" // El Salvador, Republic of
432 + "SY" + "SYR" // Syrian Arab Republic
433 + "SZ" + "SWZ" // Swaziland, Kingdom of
434 + "TC" + "TCA" // Turks and Caicos Islands
435 + "TD" + "TCD" // Chad, Republic of
436 + "TF" + "ATF" // French Southern Territories
437 + "TG" + "TGO" // Togo, Togolese Republic
438 + "TH" + "THA" // Thailand, Kingdom of
439 + "TJ" + "TJK" // Tajikistan
440 + "TK" + "TKL" // Tokelau (Tokelau Islands)
441 + "TL" + "TLS" // Timor-Leste, Democratic Republic of
442 + "TM" + "TKM" // Turkmenistan
443 + "TN" + "TUN" // Tunisia, Republic of
444 + "TO" + "TON" // Tonga, Kingdom of
445 + "TR" + "TUR" // Turkey, Republic of
446 + "TT" + "TTO" // Trinidad and Tobago, Republic of
447 + "TV" + "TUV" // Tuvalu
448 + "TW" + "TWN" // Taiwan, Province of China
449 + "TZ" + "TZA" // Tanzania, United Republic of
450 + "UA" + "UKR" // Ukraine
451 + "UG" + "UGA" // Uganda, Republic of
452 + "UM" + "UMI" // United States Minor Outlying Islands
453 + "US" + "USA" // United States of America
454 + "UY" + "URY" // Uruguay, Eastern Republic of
455 + "UZ" + "UZB" // Uzbekistan
456 + "VA" + "VAT" // Holy See (Vatican City State)
457 + "VC" + "VCT" // St. Vincent and the Grenadines
458 + "VE" + "VEN" // Venezuela, Bolivarian Republic of
459 + "VG" + "VGB" // British Virgin Islands
460 + "VI" + "VIR" // US Virgin Islands
461 + "VN" + "VNM" // Viet Nam, Socialist Republic of
462 + "VU" + "VUT" // Vanuatu
463 + "WF" + "WLF" // Wallis and Futuna Islands
464 + "WS" + "WSM" // Samoa, Independent State of
465 + "YE" + "YEM" // Yemen
466 + "YT" + "MYT" // Mayotte
467 + "ZA" + "ZAF" // South Africa, Republic of
468 + "ZM" + "ZMB" // Zambia, Republic of
469 + "ZW" + "ZWE" // Zimbabwe
470 ;
471
472 private LocaleISOData() {
473 }
474 }
|