de.fhkl.zw.mkup.rattrap.localizer
Class IpToCountryTranslator

java.lang.Object
  extended by de.fhkl.zw.mkup.rattrap.localizer.IpToCountryTranslator
All Implemented Interfaces:
IpTranslator

public class IpToCountryTranslator
extends java.lang.Object
implements IpTranslator

Author:
rob the IpToCountryTranslator tries to determine the geological orign of a given host. it uses the ip2country table

Field Summary
static int RELEVANCE
           
 
Constructor Summary
IpToCountryTranslator()
           
 
Method Summary
 void getGeoLocation(GeoLocatedHost host)
          gets the geological location for the submitted host
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RELEVANCE

public static final int RELEVANCE
See Also:
Constant Field Values
Constructor Detail

IpToCountryTranslator

public IpToCountryTranslator()
Method Detail

getGeoLocation

public void getGeoLocation(GeoLocatedHost host)
Description copied from interface: IpTranslator
gets the geological location for the submitted host

Specified by:
getGeoLocation in interface IpTranslator