public class WeatherFetcher extends Object
Fetcher.Builder
, and then
call @{#fetch(String) fetch} to get the result.Modifier and Type | Class and Description |
---|---|
static class |
WeatherFetcher.Builder
Build a Fetcher and set its options.
|
Modifier and Type | Field and Description |
---|---|
static String |
BOILERPLATE
Required link back to the API.
|
public static final String BOILERPLATE
public FetchResult fetch() throws IOException
FetchResult
that either contains a
WeatherReport
or an ErrorReport
.IOException
- if there are network problemsCopyright © 2015. All rights reserved.