net.spy.info
Class Traffic

java.lang.Object
  extended bynet.spy.SpyObject
      extended bynet.spy.info.Info
          extended bynet.spy.info.Traffic

public class Traffic
extends Info

Get Traffic info.


Field Summary
 
Fields inherited from class net.spy.info.Info
arg, error, hinfo, info
 
Constructor Summary
Traffic()
          Get an unitialized Traffic object.
Traffic(String geoLoc)
          Get an Traffic object.
 
Method Summary
protected  void getInfo()
          getInfo gets the data to be parsed.
static void main(String[] args)
           
protected  void parseInfo()
          parseInfo parses the data into the hinfo Hashtable object.
 String toString()
          Get a string representation of the info object.
 
Methods inherited from class net.spy.info.Info
deEntity, get, get, goodInfo, setArg, toXML
 
Methods inherited from class net.spy.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Traffic

public Traffic(String geoLoc)
Get an Traffic object.

Parameters:
geoLoc - The Yahoo geographical location string.

Traffic

public Traffic()
Get an unitialized Traffic object.

Method Detail

toString

public String toString()
Description copied from class: Info
Get a string representation of the info object.

Overrides:
toString in class Info

parseInfo

protected void parseInfo()
                  throws Exception
Description copied from class: Info
parseInfo parses the data into the hinfo Hashtable object. It will be called when needed.

Specified by:
parseInfo in class Info
Throws:
Exception

getInfo

protected void getInfo()
                throws Exception
Description copied from class: Info
getInfo gets the data to be parsed.

Specified by:
getInfo in class Info
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception