remove superfluous departureQueryUri() method from interface

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@304 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-10-17 15:50:02 +00:00
parent 1e49dd0e46
commit 4d4355ac4f
36 changed files with 126 additions and 128 deletions

View file

@ -120,25 +120,16 @@ public interface NetworkProvider
GetConnectionDetailsResult getConnectionDetails(String connectionUri) throws IOException;
/**
* Construct an Uri for getting departures
* Get departures at a given station, probably live
*
* @param stationId
* id of the station
* @param maxDepartures
* maximum number of departures to get or {@code 0}
* @return uri for getting departures
*/
String departuresQueryUri(String stationId, int maxDepartures);
/**
* Get departures at a given station, probably live
*
* @param queryUri
* uri constructed by {@link NetworkProvider#departuresQueryUri}
* @return result object containing the departures
* @throws IOException
*/
QueryDeparturesResult queryDepartures(String queryUri) throws IOException;
QueryDeparturesResult queryDepartures(String stationId, int maxDepartures) throws IOException;
/**
* Get colors of line