Javability (Java, Zaurus, Linux, Live) by Jean-Marc Autexier, Saarland/Germany
cat /dev/www | egrep 'Java|Linux|Zaurus|ITnews|Live' > blog

24.10.04 10:28 InetAddressLocator ( , , , )

Another (not only fun) Java library: InetAddressLocator

You just need a host name, initiator's or IP address. InetAddressLocator will return the Locale of it.

There is also a client/server implementation which use JNI. Clients lookup for locator services, send the IP and get back the Locale.

This project can probably be used in all projects which collects many IP addresses or URL's (web server, ...) or in ad-hoc location services (get IP of access point) which provide location based information.

GeoLocator is a small example which shows what you can do: from you IP it retrieves the Locale and displays a map with your location.

posted by Jean-Marc Autexier | 0 comments | Permalink | Send to Friends | Google it!
Subscribe

Locations of visitors to this page
selected blogs
ressources
Security
Unsorted
Fun
Free&Open Software
archives
This is a personal web page. Things said here do not represent the position of my employer.
RSS icons by: FastIcon.com