|
Email Answering System Version 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ninecode.email.util.WebBean | +--com.ninecode.email.beans.slave.weather.WeatherBean
Fetch weather info from weatheroffice.ec.gc.ca.
Field Summary | |
protected String |
mCode
The airport code of the city requested. |
Fields inherited from class com.ninecode.email.util.WebBean |
mBufferSize, mUrl, newline, newline_size |
Constructor Summary | |
WeatherBean()
Creates a new instance of WeatherBean |
Method Summary | |
String |
findCity(String city_province)
|
String |
findCode(String content)
|
String |
getCities()
|
String |
getCity(String code)
|
String |
getCode()
Getter for property code. |
String |
getText()
|
String |
help()
|
void |
setCode(String code)
Setter for property code. |
void |
setText(String text)
|
String |
toString()
Generate a string representing the state of this bean. |
Methods inherited from class com.ninecode.email.util.WebBean |
carriage_return, collapse, getContent, getContent, getContent, getURL, setURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String mCode
Constructor Detail |
public WeatherBean()
Method Detail |
public String getCode()
public void setCode(String code)
code
- New value of property code.
It must be one of the known airport code strings.public String findCity(String city_province)
public String findCode(String content)
public String getCities()
public String getCity(String code)
public String help()
public void setText(String text)
public String getText()
public String toString()
toString
in class WebBean
Edmonton Alberta
|
Email Answering System Version 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |