Package 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.

See:
          Description

Interface Summary
Queryable A list of weather properties that can be used in a query.
WeatherPropertyMap Read-only access to weather data.
 

Class Summary
Feature Objects of this class represent features, or data groups, of weather services.
GeoLocation An object of this class represents either a specific geographical location or locations that share the same attributes.
GeoLocation.Coordinates Geographical coordinates for a location.
QueryHint A hint about what should be returned for a query.
URLDataSource<T> A helper class for retrieving weather data from URL-based providers.
WeatherProperty<T> An object of this class represents a piece of weather information.
WeatherPropertySet A set of weather properties.
WeatherReport A group of weather data associated with a time and a location.
WeatherService<L extends GeoLocation,Q extends QueryHint,R extends WeatherReport> A service that reports weather conditions for a location based on a query hint.
 

Enum Summary
PrecipitationForm Forms of precipitation.
 

Exception Summary
UnsupportedFeatureException Thrown when a service operation cannot recognize a feature.
URLDataSource.FetchException Thrown when an error occurs during fetching data from the a data source.
WeatherServiceException A generic exception indicating an error has occurred during a weather service operation.
 

Package com.oopitis.weather Description

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. At a glance, the weather information is categorized into features and each feature is further divided into weather properties. Users query the data source by features or weather properties, and then receive the data as a list of weather reports. Strongly typed weather properties ensure that the data retrieved can be interpreted and formatted properly. For more information, see WeatherService class.