File: StreamProvider.java

package info (click to toggle)
gpsprune 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,824 kB
  • sloc: java: 52,154; sh: 25; makefile: 21; python: 15
file content (18 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package tim.prune.function.weather;

import java.io.IOException;
import java.io.InputStream;

/**
 * Provider of input streams to weather xml
 */
public interface StreamProvider
{
	/** @return a stream to the xml for the current weather */
	public InputStream getCurrentWeatherStream(double inLatitude, double inLongitude,
		String inLocationId, boolean inUseCelsius) throws IOException;

	/** @return a stream to the xml for the weather forecast */
	public InputStream getForecastStream(String inLocationId, boolean inDaily, boolean inCelsius)
		throws IOException;
}