|
|||||||||||
| 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.FlightTracker
Get FlightTracker info.
| Field Summary |
| Fields inherited from class net.spy.info.Info |
arg, error, hinfo, info |
| Constructor Summary | |
FlightTracker()
Get an uninitialized FlightTracker object. |
|
FlightTracker(String arg)
Get a FlightTracker object. |
|
FlightTracker(String airline,
String flightnum)
Get a FlightTracker 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. |
void |
setArg(String arg)
Set the object arguments. |
String |
toString()
Get a string representation of the info object. |
| Methods inherited from class net.spy.info.Info |
deEntity, get, get, goodInfo, 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 FlightTracker(String airline,
String flightnum)
airline - the 3-letter airline abreviationflightnum - the flight number on that airlinepublic FlightTracker(String arg)
arg - airline and flight number with a colon separating them.
i.e. DFW:3832public FlightTracker()
| Method Detail |
public void setArg(String arg)
setArg in class Infoarg - airline and flight number with a colon separating them.
i.e. DFW:3832public String toString()
Info
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 | ||||||||||