campus.compass
Class WhoisSource

java.lang.Object
  |
  +--campus.compass.WhoisSource

public class WhoisSource
extends java.lang.Object

Given an IP address, determine its geo location using whois command.

Version:
$Id: WhoisSource.java,v 1.4 2003/09/12 18:09:07 glchen Exp $
Author:
Guanling Chen

Field Summary
protected static java.util.Hashtable _mapping
           
 
Constructor Summary
WhoisSource()
           
 
Method Summary
static Location getLocationByIp(java.lang.String ip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_mapping

protected static java.util.Hashtable _mapping
Constructor Detail

WhoisSource

public WhoisSource()
Method Detail

getLocationByIp

public static Location getLocationByIp(java.lang.String ip)
                                throws java.lang.Exception
java.lang.Exception