|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.fedy2.weather.data.Item
public class Item
| Constructor Summary | |
|---|---|
Item()
|
|
| Method Summary | |
|---|---|
Condition |
getCondition()
Returns the current weather conditions. |
String |
getDescription()
Returns a simple summary of the current conditions and tomorrow's forecast, in HTML format, including a link to Yahoo! Weather for the full forecast. |
List<Forecast> |
getForecasts()
Returns the weather forecast for specific days. |
float |
getGeoLat()
Returns the latitude of the location. |
float |
getGeoLong()
Returns the longitude of the location. |
String |
getGuid()
Returns an unique identifier for the forecast, made up of the location ID, the date, and the time. |
String |
getLink()
Returns the Yahoo! Weather URL for this forecast. |
Date |
getPubDate()
Returns the date and time this forecast was posted. |
String |
getTitle()
Returns the forecast title and time, for example "Conditions for New York, NY at 1:51 pm EST". |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Item()
| Method Detail |
|---|
public String getTitle()
public String getLink()
public String getDescription()
public String getGuid()
public Date getPubDate()
public float getGeoLat()
public float getGeoLong()
public Condition getCondition()
public List<Forecast> getForecasts()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||