| Modifier and Type | Method and Description |
|---|---|
static TemperatureUnit |
TemperatureUnit.safeValueOf(String s) |
static TemperatureUnit |
TemperatureUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemperatureUnit[] |
TemperatureUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Weather |
IWeatherDao.getWeather(String locationCode,
TemperatureUnit unit)
Gets the weather from an implemented source.
|
| Modifier and Type | Method and Description |
|---|---|
protected Weather |
WorldWeatherOnlineDaoImpl.deserializeWeatherResult(InputStream inputStream,
TemperatureUnit unit) |
protected Object |
WorldWeatherOnlineDaoImpl.getAndDeserialize(String url,
TemperatureUnit unit) |
Weather |
WorldWeatherOnlineDaoImpl.getWeather(String locationCode,
TemperatureUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
Weather |
YahooWeatherDaoImpl.getWeather(String locationCode,
TemperatureUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
void |
WeatherEditController.addCity(String location,
String locationCode,
TemperatureUnit unit,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
void |
WeatherEditController.updateCityUnits(String locationCode,
TemperatureUnit unit,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
| Modifier and Type | Field and Description |
|---|---|
TemperatureUnit |
SavedLocation.temperatureUnit |
| Modifier and Type | Method and Description |
|---|---|
TemperatureUnit |
SavedLocation.getTemperatureUnit() |
| Modifier and Type | Method and Description |
|---|---|
SavedLocation |
IWeatherService.addWeatherLocation(javax.portlet.PortletPreferences prefs,
String locationCode,
String location,
TemperatureUnit unit)
Adds a weather location.
|
SavedLocation |
AbstractWeatherService.addWeatherLocation(javax.portlet.PortletPreferences prefs,
String locationCode,
String location,
TemperatureUnit unit) |
Weather |
IWeatherService.getWeather(String locationCode,
TemperatureUnit unit) |
Weather |
WeatherServiceImpl.getWeather(String locationCode,
TemperatureUnit unit) |
| Constructor and Description |
|---|
SavedLocation(String code,
String name,
TemperatureUnit temperatureUnit) |
Copyright © 2015 Jasig. All Rights Reserved.