Ip to Country Example
astrient • Mar 30, 2006 • 73

For demo purposes only, this example shows how to find the country code of an IP address.


Usage:

Registry registry = Registry.getRegistry();
System.out.println(registry.search("217.208.23.45"));

Please see "com.astrientlabs.ipregistry.Registry"


Online at

http://www.astrientlabs.com/iptocountry/