|
|||||||||||
| 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.Weather
Get Weather info from weather.com
| Field Summary |
| Fields inherited from class net.spy.info.Info |
arg, error, hinfo, info |
| Constructor Summary | |
Weather()
Get an unitialized Weather object. |
|
Weather(String zipCode)
Get a Weather 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 Weather 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 |
public Weather(String zipCode)
zipCode - zip code to look up weather for.public Weather()
| 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 | ||||||||||