Migrate Chemnitz & Mittelsachsen to JSON stopfinder.

This commit is contained in:
Andreas Schildbach 2014-07-16 12:12:31 +02:00
parent 0071589d4c
commit 32edd28aa1

View file

@ -17,12 +17,6 @@
package de.schildbach.pte; package de.schildbach.pte;
import java.io.IOException;
import de.schildbach.pte.dto.Location;
import de.schildbach.pte.dto.LocationType;
import de.schildbach.pte.dto.SuggestLocationsResult;
/** /**
* @author Andreas Schildbach * @author Andreas Schildbach
*/ */
@ -66,10 +60,4 @@ public class VmsProvider extends AbstractEfaProvider
return super.parseLine(mot, symbol, name, longName, trainType, trainNum, trainName); return super.parseLine(mot, symbol, name, longName, trainType, trainNum, trainName);
} }
@Override
public SuggestLocationsResult suggestLocations(final CharSequence constraint) throws IOException
{
return xmlStopfinderRequest(new Location(LocationType.ANY, null, null, constraint.toString()));
}
} }