net.spy.info
Class UPS

java.lang.Object
  extended bynet.spy.SpyObject
      extended bynet.spy.info.Info
          extended bynet.spy.info.PackageInfo
              extended bynet.spy.info.UPS

public class UPS
extends PackageInfo

Get UPS info.

The following variables are available as of this writing:


Field Summary
 
Fields inherited from class net.spy.info.Info
arg, error, hinfo, info
 
Constructor Summary
UPS()
          Get an unitialized UPS object.
UPS(String trackingNumber)
          Get a UPS info 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 UPS object.
 
Methods inherited from class net.spy.info.PackageInfo
isDelivered, setDelivered
 
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

UPS

public UPS(String trackingNumber)
Get a UPS info object.

Parameters:
trackingNumber - tracking number to look up

UPS

public UPS()
Get an unitialized UPS object.

Method Detail

toString

public String toString()
Get a string representation of the UPS 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