Source Code Cross Referenced for Iso3166.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » rdf » arp » lang » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.rdf.arp.lang 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         *  (c) Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
003:         *  All rights reserved.
004:         *
005:         * Redistribution and use in source and binary forms, with or without
006:         * modification, are permitted provided that the following conditions
007:         * are met:
008:         * 1. Redistributions of source code must retain the above copyright
009:         *    notice, this list of conditions and the following disclaimer.
010:         * 2. Redistributions in binary form must reproduce the above copyright
011:         *    notice, this list of conditions and the following disclaimer in the
012:         *    documentation and/or other materials provided with the distribution.
013:         * 3. The name of the author may not be used to endorse or promote products
014:         *    derived from this software without specific prior written permission.
015:
016:         * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
017:         * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
018:         * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
019:         * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
020:         * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
021:         * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
022:         * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
023:         * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
024:         * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
025:         * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
026:         
027:         * * $Id: Iso3166.java,v 1.6 2008/01/02 12:10:06 andy_seaborne Exp $
028:           
029:           AUTHOR:  Jeremy J. Carroll
030:         */
031:        /*
032:         * Iso3166.java
033:         *
034:         * Created on July 24, 2001, 11:46 PM
035:         */
036:
037:        package com.hp.hpl.jena.rdf.arp.lang;
038:
039:        import java.util.HashMap;
040:        import java.util.Map;
041:
042:        /** Country code names from ISO 3166.
043:         *<p>
044:         An encapsulation of registry
045:         * of ISO 3166.
046:         * This was updated on 24th July 2001 from
047:         * <a href="http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1/db_en.html">
048:         * http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1/db_en.html</a>
049:         *
050:         * @author jjc
051:         */
052:        public class Iso3166 {
053:
054:            static final Map all = new HashMap();
055:
056:            /** Creates new Iso639 */
057:            private Iso3166(String code, String engName) {
058:                this .code = code.toLowerCase();
059:                name = engName;
060:                all.put(this .code, this );
061:            }
062:
063:            /** Look a country code up in the list.
064:             * @param countryId The country code to look up.
065:             * @return The corresponding Iso3166 object,
066:             * or null if not in the list.
067:             */
068:            static public Iso3166 find(String countryId) {
069:                return (Iso3166) all.get(countryId);
070:            }
071:
072:            /** The 2 character country code.
073:             */
074:            public final String code;
075:            /** The name of the country (in English).
076:             */
077:            public final String name;
078:
079:            static {
080:                new Iso3166("AF", "AFGHANISTAN");
081:                new Iso3166("AL", "ALBANIA");
082:                new Iso3166("DZ", "ALGERIA");
083:                new Iso3166("AS", "AMERICAN SAMOA");
084:                new Iso3166("AD", "ANDORRA");
085:                new Iso3166("AO", "ANGOLA");
086:                new Iso3166("AI", "ANGUILLA");
087:                new Iso3166("AQ", "ANTARCTICA");
088:                new Iso3166("AG", "ANTIGUA AND BARBUDA");
089:                new Iso3166("AR", "ARGENTINA");
090:                new Iso3166("AM", "ARMENIA");
091:                new Iso3166("AW", "ARUBA");
092:                new Iso3166("AU", "AUSTRALIA");
093:                new Iso3166("AT", "AUSTRIA");
094:                new Iso3166("AZ", "AZERBAIJAN");
095:                new Iso3166("BS", "BAHAMAS");
096:                new Iso3166("BH", "BAHRAIN");
097:                new Iso3166("BD", "BANGLADESH");
098:                new Iso3166("BB", "BARBADOS");
099:                new Iso3166("BY", "BELARUS");
100:                new Iso3166("BE", "BELGIUM");
101:                new Iso3166("BZ", "BELIZE");
102:                new Iso3166("BJ", "BENIN");
103:                new Iso3166("BM", "BERMUDA");
104:                new Iso3166("BT", "BHUTAN");
105:                new Iso3166("BO", "BOLIVIA");
106:                new Iso3166("BA", "BOSNIA AND HERZEGOVINA");
107:                new Iso3166("BW", "BOTSWANA");
108:                new Iso3166("BV", "BOUVET ISLAND");
109:                new Iso3166("BR", "BRAZIL");
110:                new Iso3166("IO", "BRITISH INDIAN OCEAN TERRITORY");
111:                new Iso3166("BN", "BRUNEI DARUSSALAM");
112:                new Iso3166("BG", "BULGARIA");
113:                new Iso3166("BF", "BURKINA FASO");
114:                new Iso3166("BI", "BURUNDI");
115:                new Iso3166("KH", "CAMBODIA");
116:                new Iso3166("CM", "CAMEROON");
117:                new Iso3166("CA", "CANADA");
118:                new Iso3166("CV", "CAPE VERDE");
119:                new Iso3166("KY", "CAYMAN ISLANDS");
120:                new Iso3166("CF", "CENTRAL AFRICAN REPUBLIC");
121:                new Iso3166("TD", "CHAD");
122:                new Iso3166("CL", "CHILE");
123:                new Iso3166("CN", "CHINA");
124:                new Iso3166("CX", "CHRISTMAS ISLAND");
125:                new Iso3166("CC", "COCOS (KEELING) ISLANDS");
126:                new Iso3166("CO", "COLOMBIA");
127:                new Iso3166("KM", "COMOROS");
128:                new Iso3166("CG", "CONGO");
129:                new Iso3166("CD", "CONGO, THE DEMOCRATIC REPUBLIC OF THE");
130:                new Iso3166("CK", "COOK ISLANDS");
131:                new Iso3166("CR", "COSTA RICA");
132:                new Iso3166("CI", "COTE D'IVOIRE");
133:                new Iso3166("HR", "CROATIA");
134:                new Iso3166("CU", "CUBA");
135:                new Iso3166("CY", "CYPRUS");
136:                new Iso3166("CZ", "CZECH REPUBLIC");
137:                new Iso3166("DK", "DENMARK");
138:                new Iso3166("DJ", "DJIBOUTI");
139:                new Iso3166("DM", "DOMINICA");
140:                new Iso3166("DO", "DOMINICAN REPUBLIC");
141:                new Iso3166("TP", "EAST TIMOR");
142:                new Iso3166("EC", "ECUADOR");
143:                new Iso3166("EG", "EGYPT");
144:                new Iso3166("SV", "EL SALVADOR");
145:                new Iso3166("GQ", "EQUATORIAL GUINEA");
146:                new Iso3166("ER", "ERITREA");
147:                new Iso3166("EE", "ESTONIA");
148:                new Iso3166("ET", "ETHIOPIA");
149:                new Iso3166("FK", "FALKLAND ISLANDS (MALVINAS)");
150:                new Iso3166("FO", "FAROE ISLANDS");
151:                new Iso3166("FJ", "FIJI");
152:                new Iso3166("FI", "FINLAND");
153:                new Iso3166("FR", "FRANCE");
154:                new Iso3166("GF", "FRENCH GUIANA");
155:                new Iso3166("PF", "FRENCH POLYNESIA");
156:                new Iso3166("TF", "FRENCH SOUTHERN TERRITORIES");
157:                new Iso3166("GA", "GABON");
158:                new Iso3166("GM", "GAMBIA");
159:                new Iso3166("GE", "GEORGIA");
160:                new Iso3166("DE", "GERMANY");
161:                new Iso3166("GH", "GHANA");
162:                new Iso3166("GI", "GIBRALTAR");
163:                new Iso3166("GR", "GREECE");
164:                new Iso3166("GL", "GREENLAND");
165:                new Iso3166("GD", "GRENADA");
166:                new Iso3166("GP", "GUADELOUPE");
167:                new Iso3166("GU", "GUAM");
168:                new Iso3166("GT", "GUATEMALA");
169:                new Iso3166("GN", "GUINEA");
170:                new Iso3166("GW", "GUINEA-BISSAU");
171:                new Iso3166("GY", "GUYANA");
172:                new Iso3166("HT", "HAITI");
173:                new Iso3166("HM", "HEARD ISLAND AND MCDONALD ISLANDS");
174:                new Iso3166("VA", "HOLY SEE (VATICAN CITY STATE)");
175:                new Iso3166("HN", "HONDURAS");
176:                new Iso3166("HK", "HONG KONG");
177:                new Iso3166("HU", "HUNGARY");
178:                new Iso3166("IS", "ICELAND");
179:                new Iso3166("IN", "INDIA");
180:                new Iso3166("ID", "INDONESIA");
181:                new Iso3166("IR", "IRAN, ISLAMIC REPUBLIC OF");
182:                new Iso3166("IQ", "IRAQ");
183:                new Iso3166("IE", "IRELAND");
184:                new Iso3166("IL", "ISRAEL");
185:                new Iso3166("IT", "ITALY");
186:                new Iso3166("JM", "JAMAICA");
187:                new Iso3166("JP", "JAPAN");
188:                new Iso3166("JO", "JORDAN");
189:                new Iso3166("KZ", "KAZAKSTAN");
190:                new Iso3166("KE", "KENYA");
191:                new Iso3166("KI", "KIRIBATI");
192:                new Iso3166("KP", "KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF");
193:                new Iso3166("KR", "KOREA, REPUBLIC OF");
194:                new Iso3166("KW", "KUWAIT");
195:                new Iso3166("KG", "KYRGYZSTAN");
196:                new Iso3166("LA", "LAO PEOPLE'S DEMOCRATIC REPUBLIC");
197:                new Iso3166("LV", "LATVIA");
198:                new Iso3166("LB", "LEBANON");
199:                new Iso3166("LS", "LESOTHO");
200:                new Iso3166("LR", "LIBERIA");
201:                new Iso3166("LY", "LIBYAN ARAB JAMAHIRIYA");
202:                new Iso3166("LI", "LIECHTENSTEIN");
203:                new Iso3166("LT", "LITHUANIA");
204:                new Iso3166("LU", "LUXEMBOURG");
205:                new Iso3166("MO", "MACAU");
206:                new Iso3166("MK", "MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF");
207:                new Iso3166("MG", "MADAGASCAR");
208:                new Iso3166("MW", "MALAWI");
209:                new Iso3166("MY", "MALAYSIA");
210:                new Iso3166("MV", "MALDIVES");
211:                new Iso3166("ML", "MALI");
212:                new Iso3166("MT", "MALTA");
213:                new Iso3166("MH", "MARSHALL ISLANDS");
214:                new Iso3166("MQ", "MARTINIQUE");
215:                new Iso3166("MR", "MAURITANIA");
216:                new Iso3166("MU", "MAURITIUS");
217:                new Iso3166("YT", "MAYOTTE");
218:                new Iso3166("MX", "MEXICO");
219:                new Iso3166("FM", "MICRONESIA, FEDERATED STATES OF");
220:                new Iso3166("MD", "MOLDOVA, REPUBLIC OF");
221:                new Iso3166("MC", "MONACO");
222:                new Iso3166("MN", "MONGOLIA");
223:                new Iso3166("MS", "MONTSERRAT");
224:                new Iso3166("MA", "MOROCCO");
225:                new Iso3166("MZ", "MOZAMBIQUE");
226:                new Iso3166("MM", "MYANMAR");
227:                new Iso3166("NA", "NAMIBIA");
228:                new Iso3166("NR", "NAURU");
229:                new Iso3166("NP", "NEPAL");
230:                new Iso3166("NL", "NETHERLANDS");
231:                new Iso3166("AN", "NETHERLANDS ANTILLES");
232:                new Iso3166("NC", "NEW CALEDONIA");
233:                new Iso3166("NZ", "NEW ZEALAND");
234:                new Iso3166("NI", "NICARAGUA");
235:                new Iso3166("NE", "NIGER");
236:                new Iso3166("NG", "NIGERIA");
237:                new Iso3166("NU", "NIUE");
238:                new Iso3166("NF", "NORFOLK ISLAND");
239:                new Iso3166("MP", "NORTHERN MARIANA ISLANDS");
240:                new Iso3166("NO", "NORWAY");
241:                new Iso3166("OM", "OMAN");
242:                new Iso3166("PK", "PAKISTAN");
243:                new Iso3166("PW", "PALAU");
244:                new Iso3166("PS", "PALESTINIAN TERRITORY, OCCUPIED");
245:                new Iso3166("PA", "PANAMA");
246:                new Iso3166("PG", "PAPUA NEW GUINEA");
247:                new Iso3166("PY", "PARAGUAY");
248:                new Iso3166("PE", "PERU");
249:                new Iso3166("PH", "PHILIPPINES");
250:                new Iso3166("PN", "PITCAIRN");
251:                new Iso3166("PL", "POLAND");
252:                new Iso3166("PT", "PORTUGAL");
253:                new Iso3166("PR", "PUERTO RICO");
254:                new Iso3166("QA", "QATAR");
255:                new Iso3166("RE", "REUNION");
256:                new Iso3166("RO", "ROMANIA");
257:                new Iso3166("RU", "RUSSIAN FEDERATION");
258:                new Iso3166("RW", "RWANDA");
259:                new Iso3166("SH", "SAINT HELENA");
260:                new Iso3166("KN", "SAINT KITTS AND NEVIS");
261:                new Iso3166("LC", "SAINT LUCIA");
262:                new Iso3166("PM", "SAINT PIERRE AND MIQUELON");
263:                new Iso3166("VC", "SAINT VINCENT AND THE GRENADINES");
264:                new Iso3166("WS", "SAMOA");
265:                new Iso3166("SM", "SAN MARINO");
266:                new Iso3166("ST", "SAO TOME AND PRINCIPE");
267:                new Iso3166("SA", "SAUDI ARABIA");
268:                new Iso3166("SN", "SENEGAL");
269:                new Iso3166("SC", "SEYCHELLES");
270:                new Iso3166("SL", "SIERRA LEONE");
271:                new Iso3166("SG", "SINGAPORE");
272:                new Iso3166("SK", "SLOVAKIA");
273:                new Iso3166("SI", "SLOVENIA");
274:                new Iso3166("SB", "SOLOMON ISLANDS");
275:                new Iso3166("SO", "SOMALIA");
276:                new Iso3166("ZA", "SOUTH AFRICA");
277:                new Iso3166("GS",
278:                        "SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS");
279:                new Iso3166("ES", "SPAIN");
280:                new Iso3166("LK", "SRI LANKA");
281:                new Iso3166("SD", "SUDAN");
282:                new Iso3166("SR", "SURINAME");
283:                new Iso3166("SJ", "SVALBARD AND JAN MAYEN");
284:                new Iso3166("SZ", "SWAZILAND");
285:                new Iso3166("SE", "SWEDEN");
286:                new Iso3166("CH", "SWITZERLAND");
287:                new Iso3166("SY", "SYRIAN ARAB REPUBLIC");
288:                new Iso3166("TW", "TAIWAN, PROVINCE OF CHINA");
289:                new Iso3166("TJ", "TAJIKISTAN");
290:                new Iso3166("TZ", "TANZANIA, UNITED REPUBLIC OF");
291:                new Iso3166("TH", "THAILAND");
292:                new Iso3166("TG", "TOGO");
293:                new Iso3166("TK", "TOKELAU");
294:                new Iso3166("TO", "TONGA");
295:                new Iso3166("TT", "TRINIDAD AND TOBAGO");
296:                new Iso3166("TN", "TUNISIA");
297:                new Iso3166("TR", "TURKEY");
298:                new Iso3166("TM", "TURKMENISTAN");
299:                new Iso3166("TC", "TURKS AND CAICOS ISLANDS");
300:                new Iso3166("TV", "TUVALU");
301:                new Iso3166("UG", "UGANDA");
302:                new Iso3166("UA", "UKRAINE");
303:                new Iso3166("AE", "UNITED ARAB EMIRATES");
304:                new Iso3166("GB", "UNITED KINGDOM");
305:                new Iso3166("US", "UNITED STATES");
306:                new Iso3166("UM", "UNITED STATES MINOR OUTLYING ISLANDS");
307:                new Iso3166("UY", "URUGUAY");
308:                new Iso3166("UZ", "UZBEKISTAN");
309:                new Iso3166("VU", "VANUATU");
310:                new Iso3166("VE", "VENEZUELA");
311:                new Iso3166("VN", "VIET NAM");
312:                new Iso3166("VG", "VIRGIN ISLANDS, BRITISH");
313:                new Iso3166("VI", "VIRGIN ISLANDS, U.S.");
314:                new Iso3166("WF", "WALLIS AND FUTUNA");
315:                new Iso3166("EH", "WESTERN SAHARA");
316:                new Iso3166("YE", "YEMEN");
317:                new Iso3166("YU", "YUGOSLAVIA");
318:                new Iso3166("ZM", "ZAMBIA");
319:                new Iso3166("ZW", "ZIMBABWE");
320:
321:            }
322:        }
ww___w_.___j__a___va_2_s_._c_om__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.