mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 11:09:48 +00:00
migrated old network ids to new enum based ids
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@402 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
90cf8234b7
commit
e6c560a4f4
36 changed files with 284 additions and 50 deletions
|
@ -28,9 +28,15 @@ import de.schildbach.pte.util.ParserUtils;
|
|||
*/
|
||||
public class KvvProvider extends AbstractEfaProvider
|
||||
{
|
||||
public static final String NETWORK_ID = "213.144.24.66";
|
||||
public static final NetworkId NETWORK_ID = NetworkId.KVV;
|
||||
public static final String OLD_NETWORK_ID = "213.144.24.66";
|
||||
private final static String API_BASE = "http://213.144.24.66/kvv/";
|
||||
|
||||
public NetworkId id()
|
||||
{
|
||||
return NETWORK_ID;
|
||||
}
|
||||
|
||||
public boolean hasCapabilities(Capability... capabilities)
|
||||
{
|
||||
for (final Capability capability : capabilities)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue