org.mentawai.csc
Class Country
java.lang.Object
org.mentawai.csc.Country
public class Country
- extends Object
|
Constructor Summary |
Country(int id)
|
Country(int id,
boolean hasStates)
|
Country
public Country(int id,
boolean hasStates)
Country
public Country(int id)
getId
public int getId()
hasStates
public boolean hasStates()
getHasStates
public boolean getHasStates()
addName
public void addName(Locale loc,
String name)
getName
public String getName(Locale loc)
toString
public String toString()
- Overrides:
toString in class Object
getStates
public List<State> getStates()
getById
public static Country getById(int id)
getCountries
public static Iterator<Country> getCountries(Locale loc)
getListData
public static ListData getListData(String name)
getListData
public static ListData getListData(LocalizedListData list)
getLocales
public static Set<Locale> getLocales()
init
public static void init()
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011. All Rights Reserved.