mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 16:59: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
|
@ -27,19 +27,13 @@ import de.schildbach.pte.dto.Product;
|
|||
*/
|
||||
public class VrnProvider extends AbstractEfaProvider
|
||||
{
|
||||
public static final NetworkId NETWORK_ID = NetworkId.VRN;
|
||||
private static final String API_BASE = "http://fahrplanauskunft.vrn.de/vrn_mobile/";
|
||||
|
||||
// http://efa9.vrn.de/vrt/
|
||||
|
||||
public VrnProvider()
|
||||
{
|
||||
super(API_BASE);
|
||||
}
|
||||
|
||||
public NetworkId id()
|
||||
{
|
||||
return NETWORK_ID;
|
||||
super(NetworkId.VRN, API_BASE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue