Migrate East of England, East Midlands & South East England to JSON stopfinder.

This commit is contained in:
Andreas Schildbach 2014-07-16 12:11:09 +02:00
parent 3542a9a4d8
commit 434aa4ba6f

View file

@ -17,13 +17,9 @@
package de.schildbach.pte;
import java.io.IOException;
import java.util.Collection;
import de.schildbach.pte.dto.Location;
import de.schildbach.pte.dto.LocationType;
import de.schildbach.pte.dto.Product;
import de.schildbach.pte.dto.SuggestLocationsResult;
/**
* @author Andreas Schildbach
@ -70,12 +66,6 @@ public class TlemProvider extends AbstractEfaProvider
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()));
}
@Override
public Collection<Product> defaultProducts()
{