|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GeoLocation | |
|---|---|
| com.oopitis.weather | This package provides a common interface for users to access weather information from different data sources, and a skeletal implementation for data providers to quickly set up data access via Java. |
| com.oopitis.weather.fio | Implementation for forecast.io. |
| com.oopitis.weather.owm | Implementation for Open Weather Map. |
| Uses of GeoLocation in com.oopitis.weather |
|---|
| Classes in com.oopitis.weather with type parameters of type GeoLocation | |
|---|---|
class |
WeatherService<L extends GeoLocation,Q extends QueryHint,R extends WeatherReport>
A service that reports weather conditions for a location based on a query hint. |
| Methods in com.oopitis.weather that return GeoLocation | |
|---|---|
GeoLocation |
WeatherReport.getLocation()
Returns the location associated with this report. |
| Constructors in com.oopitis.weather with parameters of type GeoLocation | |
|---|---|
WeatherReport(Feature feature,
java.util.Date time,
GeoLocation location)
Creates a weather report without data. |
|
WeatherReport(Feature feature,
java.util.Date time,
GeoLocation location,
WeatherPropertyMap map)
Creates a weather report. |
|
| Uses of GeoLocation in com.oopitis.weather.fio |
|---|
| Methods in com.oopitis.weather.fio with parameters of type GeoLocation | |
|---|---|
abstract FioData.Response |
FioData.getResponse(GeoLocation location,
java.util.Date beginTime,
java.util.Set<Feature> features)
Returns the parsed, organized data ready for report creation. |
java.util.List<WeatherReport> |
FioWeather.query(GeoLocation location,
java.util.Date beginTime,
QueryHint hint)
|
| Uses of GeoLocation in com.oopitis.weather.owm |
|---|
| Subclasses of GeoLocation in com.oopitis.weather.owm | |
|---|---|
class |
OwmLocation
The type of location objects for querying Open Weather Map weather data. |
| Methods in com.oopitis.weather.owm with parameters of type GeoLocation | |
|---|---|
protected abstract WeatherReport |
OwmData.getCurrentConditions(GeoLocation loc,
OwmQueryHint.Language lang)
Gets the current weather conditions for a location. |
protected abstract java.util.List<WeatherReport> |
OwmData.getDailyConditions(GeoLocation loc,
OwmQueryHint.Language lang,
java.lang.Integer numOfDays)
Gets daily weather conditions for a location. |
protected abstract java.util.List<WeatherReport> |
OwmData.getHourlyConditions(GeoLocation loc,
OwmQueryHint.Language lang)
Gets hourly weather conditions for a location. |
protected abstract java.util.List<WeatherReport> |
OwmData.getMultiLocationConditions(GeoLocation loc,
OwmQueryHint.Language lang)
Gets weather conditions for multiple locations. |
protected java.lang.String |
OwmData.getUrlCurrent(GeoLocation loc,
OwmQueryHint.Language lang)
Constructs a URL for retrieving the current weather data. |
protected java.lang.String |
OwmData.getUrlDaily(GeoLocation loc,
OwmQueryHint.Language lang,
java.lang.Integer numOfDays)
Constructs a URL for retrieving daily weather data up to 14 days. |
protected java.lang.String |
OwmData.getUrlHourly(GeoLocation loc,
OwmQueryHint.Language lang)
Constructs a URL for retrieving hourly (actually every 3 hours) weather data. |
protected java.lang.String |
OwmData.getUrlMultiLocation(GeoLocation loc,
OwmQueryHint.Language lang)
Constructs a URL for retrieving weather data from multiple locations. |
java.util.List<WeatherReport> |
OwmWeather.query(GeoLocation location,
java.util.Date beginTime,
OwmQueryHint hint)
Queries the data source about the weather in a location. |
static java.lang.String |
OwmLocation.toUrlQuery(GeoLocation loc)
Constructs the URL query string for a GeoLocation object. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||