mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 17:09:51 +00:00
Migrate Schwerin & Mecklenburg-Vorpommern to JSON stopfinder.
This commit is contained in:
parent
32edd28aa1
commit
3543bc8491
1 changed files with 0 additions and 10 deletions
|
@ -17,15 +17,11 @@
|
||||||
|
|
||||||
package de.schildbach.pte;
|
package de.schildbach.pte;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import de.schildbach.pte.dto.Location;
|
|
||||||
import de.schildbach.pte.dto.LocationType;
|
|
||||||
import de.schildbach.pte.dto.Style;
|
import de.schildbach.pte.dto.Style;
|
||||||
import de.schildbach.pte.dto.Style.Shape;
|
import de.schildbach.pte.dto.Style.Shape;
|
||||||
import de.schildbach.pte.dto.SuggestLocationsResult;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
|
@ -57,12 +53,6 @@ public class VmvProvider extends AbstractEfaProvider
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public SuggestLocationsResult suggestLocations(final CharSequence constraint) throws IOException
|
|
||||||
{
|
|
||||||
return xmlStopfinderRequest(new Location(LocationType.STATION, null, null, constraint.toString()));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String parseLine(final String mot, final String symbol, final String name, final String longName, final String trainType,
|
protected String parseLine(final String mot, final String symbol, final String name, final String longName, final String trainType,
|
||||||
final String trainNum, final String trainName)
|
final String trainNum, final String trainName)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue