|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.maxmind.geoip.Country
public class Country
Represents a country.
Constructor Summary | |
---|---|
Country(java.lang.String code,
java.lang.String name)
Creates a new Country. |
Method Summary | |
---|---|
java.lang.String |
getCode()
Returns the ISO two-letter country code of this country. |
java.lang.String |
getName()
Returns the name of this country. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Country(java.lang.String code, java.lang.String name)
code
- the country code.name
- the country name.Method Detail |
---|
public java.lang.String getCode()
public java.lang.String getName()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |