mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29:51 +00:00
Migrate network IDs to constant field.
This commit is contained in:
parent
695fc56d8e
commit
cf651676d2
70 changed files with 130 additions and 480 deletions
|
@ -28,17 +28,11 @@ import de.schildbach.pte.dto.Product;
|
|||
*/
|
||||
public class LuProvider extends AbstractHafasProvider
|
||||
{
|
||||
public static final NetworkId NETWORK_ID = NetworkId.LU;
|
||||
private static final String API_BASE = "http://mobiliteitszentral.hafas.de/hafas/";
|
||||
|
||||
public LuProvider()
|
||||
{
|
||||
super(API_BASE + "stboard.exe/fn", API_BASE + "ajax-getstop.exe/fn", API_BASE + "query.exe/fn", 9, Charsets.UTF_8);
|
||||
}
|
||||
|
||||
public NetworkId id()
|
||||
{
|
||||
return NETWORK_ID;
|
||||
super(NetworkId.LU, API_BASE + "stboard.exe/fn", API_BASE + "ajax-getstop.exe/fn", API_BASE + "query.exe/fn", 9, Charsets.UTF_8);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue