mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 13:18:49 +00:00
separate line and type
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@833 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
9aab719b31
commit
dc1f35a23f
1 changed files with 7 additions and 0 deletions
|
@ -20,6 +20,7 @@ package de.schildbach.pte;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import de.schildbach.pte.dto.Line;
|
||||||
import de.schildbach.pte.dto.Location;
|
import de.schildbach.pte.dto.Location;
|
||||||
import de.schildbach.pte.dto.LocationType;
|
import de.schildbach.pte.dto.LocationType;
|
||||||
import de.schildbach.pte.dto.NearbyStationsResult;
|
import de.schildbach.pte.dto.NearbyStationsResult;
|
||||||
|
@ -158,6 +159,12 @@ public class VbnProvider extends AbstractHafasProvider
|
||||||
return jsonGetStops(uri);
|
return jsonGetStops(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected Line normalizeLine(final String line)
|
||||||
|
{
|
||||||
|
return parseLineAndType(line);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected char normalizeType(final String type)
|
protected char normalizeType(final String type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue