Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

List of country names

Thread view: 
tungchau81@yahoo.com - 01 Nov 2006 20:51 GMT
Hi,
How do I get a list of all country names in this world in Java?

Thanks in advance,
Tung Chau
tungchau81@yahoo.com - 01 Nov 2006 20:58 GMT
I meant how I can get a list of all country names in this world the
same way Locale class did for languages in Locale.getISOLanguages()
function.

Regards,
Tung Chau
Ben_ - 01 Nov 2006 21:17 GMT
Tried Locale.getISOCountries() and Locale.getDisplayCountry(Locale inLocale)
?
Thomas Weidenfeller - 02 Nov 2006 10:36 GMT
> I meant how I can get a list of all country names in this world the
> same way Locale class did for languages in Locale.getISOLanguages()
> function.

Buy the ISO standards? Google for a list?

/Thomas
Signature

The comp.lang.java.gui FAQ:
http://gd.tuwien.ac.at/faqs/faqs-hierarchy/comp/comp.lang.java.gui/
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq

Dag Sunde - 02 Nov 2006 10:47 GMT
>> I meant how I can get a list of all country names in this world the
>> same way Locale class did for languages in Locale.getISOLanguages()
>> function.
>
> Buy the ISO standards? Google for a list?

...or search for it?
http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en
1.html


http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en
1-semic.txt


http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/iso_316
6-1_xml_en.zip


Signature

Dag.

Ben_ - 03 Nov 2006 15:26 GMT
It's indeed a way to get a list of countries, but the OP asks if it's
possible "the same way Locale class did for languages".


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.