org.blojsom.plugin.weather
Class WeatherFetcher

java.lang.Object
  extended byorg.blojsom.plugin.weather.WeatherFetcher

public class WeatherFetcher
extends java.lang.Object

WeatherFetcher

Since:
Blojsom 2.23
Version:
$Id: WeatherFetcher.java,v 1.5 2006/01/04 16:53:13 czarneckid Exp $
Author:
Mark Lussier

Constructor Summary
WeatherFetcher()
          Construct a new instance of the WeatherFetcher class
 
Method Summary
 WeatherInformation retrieveForecast(WeatherInformation provider)
          Retrieve the WeatherInformation from a site containing an XML feed of weather information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeatherFetcher

public WeatherFetcher()
Construct a new instance of the WeatherFetcher class

Method Detail

retrieveForecast

public WeatherInformation retrieveForecast(WeatherInformation provider)
                                    throws java.lang.IllegalArgumentException,
                                           java.io.IOException
Retrieve the WeatherInformation from a site containing an XML feed of weather information

Parameters:
provider - WeatherInformation
Returns:
WeatherInformation populated with data
Throws:
java.lang.IllegalArgumentException - If there is an error parsing weather information
java.io.IOException - If there is an error parsing weather information