|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.info.Info
net.spy.info.PackageInfo
net.spy.info.UPS
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 |
public UPS(String trackingNumber)
trackingNumber - tracking number to look uppublic UPS()
| Method Detail |
public String toString()
toString in class Info
protected void parseInfo()
throws Exception
Info
parseInfo in class InfoException
protected void getInfo()
throws Exception
Info
getInfo in class InfoException
public static void main(String[] args)
throws Exception
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||