|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.base.util.CountryLookup
public class CountryLookup
Utility class to lookup country information based on an IP address.
| Constructor Summary | |
|---|---|
CountryLookup()
|
|
| Method Summary | |
|---|---|
static com.maxmind.geoip.Country |
getCountry(java.lang.String ipAddress)
Returns the Country the IP address is from. |
static com.maxmind.geoip.LookupService |
getLookupService()
Returns the lookup service object. |
static void |
reloadDatabase()
Reloads the country database from the file system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CountryLookup()
| Method Detail |
|---|
public static com.maxmind.geoip.Country getCountry(java.lang.String ipAddress)
ipAddress - the IP address.
public static com.maxmind.geoip.LookupService getLookupService()
public static void reloadDatabase()
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||