|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Feature | |
|---|---|
| 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 Feature in com.oopitis.weather |
|---|
| Fields in com.oopitis.weather declared as Feature | |
|---|---|
static Feature |
WeatherService.ALERT
A feature that provides weather alerts. |
static Feature |
WeatherService.CONDITIONS
A feature that provides reports for weather conditions at a given time. |
static Feature |
WeatherService.CONDITIONS_DAY
A feature that provides day-by-day weather reports. |
static Feature |
WeatherService.CONDITIONS_HOUR
A feature that provides hour-by-hour weather reports. |
static Feature |
WeatherService.CONDITIONS_MINUTE
A feature that provides minute-by-minute weather reports. |
| Methods in com.oopitis.weather that return Feature | |
|---|---|
Feature[] |
QueryHint.getExcludedFeatures()
Returns the list of excluded features. |
Feature |
UnsupportedFeatureException.getFeature()
Returns the unsupported feature this exception is thrown for. |
Feature |
WeatherReport.getFeature()
Returns the feature to which this report belongs |
Feature[] |
QueryHint.getIncludedFeatures()
Returns the list of included features. |
| Methods in com.oopitis.weather that return types with arguments of type Feature | |
|---|---|
protected java.util.Set<Feature> |
WeatherService.getApplicableFeatures(Q hint)
Derives the set of relevant features from a query hint. |
abstract java.util.Set<Feature> |
WeatherService.getBasicFeatures()
Returns the set of features for which the weather reports are created when the query hint does not exist or does not specify properties of interest or features to include. |
abstract java.util.Set<Feature> |
WeatherService.getSupportedFeatures()
Gets all features this service supports. |
static java.util.List<Feature> |
WeatherService.listFeatures(java.util.List<? extends WeatherReport> list)
Lists all features referenced by a list of weather reports. |
| Methods in com.oopitis.weather with parameters of type Feature | ||
|---|---|---|
void |
QueryHint.exclude(Feature... features)
Indicates that weather reports from a list of features must be excluded. |
|
abstract WeatherPropertySet |
WeatherService.getApplicableProperties(Feature f)
Gets the set of properties applicable to a feature. |
|
void |
QueryHint.include(Feature... features)
Indicates that weather reports from a list of features must be included. |
|
java.util.List<R> |
WeatherService.query(L location,
Feature f,
Feature... ff)
Queries the data source for a location about the weather information from a list of features. |
|
java.util.List<R> |
WeatherService.query(L location,
Feature f,
Feature... ff)
Queries the data source for a location about the weather information from a list of features. |
|
java.util.List<R> |
WeatherService.query(L location,
Queryable q,
Feature f,
Feature... ff)
Queries the data source for a location about the weather information that includes the given queryable and list of features. |
|
java.util.List<R> |
WeatherService.query(L location,
Queryable q,
Feature f,
Feature... ff)
Queries the data source for a location about the weather information that includes the given queryable and list of features. |
|
static
|
WeatherService.subList(java.util.List<T> list,
Feature f)
Extracts the list of weather reports that belong to a feature. |
|
| Constructors in com.oopitis.weather with parameters of type Feature | |
|---|---|
UnsupportedFeatureException(Feature f)
Constructs an exception indicating a feature is not supported. |
|
UnsupportedFeatureException(Feature f,
java.lang.String message)
Constructs an exception indicating a feature is not supported with a detailed message. |
|
UnsupportedFeatureException(Feature f,
java.lang.String message,
java.lang.Throwable cause)
Constructs an exception indicating a feature is not supported with a detailed message and cause. |
|
UnsupportedFeatureException(Feature f,
java.lang.Throwable cause)
Constructs an exception indicating a feature is not supported with a cause. |
|
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 Feature in com.oopitis.weather.fio |
|---|
| Methods in com.oopitis.weather.fio that return types with arguments of type Feature | |
|---|---|
java.util.Set<Feature> |
FioWeather.getBasicFeatures()
|
java.util.Set<Feature> |
FioWeather.getSupportedFeatures()
|
| Methods in com.oopitis.weather.fio with parameters of type Feature | |
|---|---|
WeatherPropertySet |
FioData.getApplicableProperties(Feature f)
Returns the set of applicable properties for a feature. |
WeatherPropertySet |
FioWeather.getApplicableProperties(Feature f)
|
| Method parameters in com.oopitis.weather.fio with type arguments of type Feature | |
|---|---|
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. |
protected java.lang.String |
FioData.getUrl(GeoLocation.Coordinates c,
java.util.Date beginTime,
java.util.Set<Feature> features)
Constructs a URL based on a location, time and set of features. |
| Uses of Feature in com.oopitis.weather.owm |
|---|
| Fields in com.oopitis.weather.owm declared as Feature | |
|---|---|
static Feature |
OwmWeather.CONDITIONS_14DAYS
Weather conditions for the next 14 days. |
static Feature |
OwmWeather.CONDITIONS_MULTILOCATION
This feature corresponds to the "city search" function. |
| Methods in com.oopitis.weather.owm that return types with arguments of type Feature | |
|---|---|
java.util.Set<Feature> |
OwmWeather.getBasicFeatures()
|
java.util.Set<Feature> |
OwmWeather.getSupportedFeatures()
|
| Methods in com.oopitis.weather.owm with parameters of type Feature | |
|---|---|
WeatherPropertySet |
OwmData.getApplicableProperties(Feature f)
Returns the applicable properties associated with a feature. |
WeatherPropertySet |
OwmWeather.getApplicableProperties(Feature f)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||