mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
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:
parent
1e49dd0e46
commit
4d4355ac4f
36 changed files with 126 additions and 128 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue