Migrate Kiel, Lübeck & Schleswig-Holstein to auto-complete via getstops endpoint.

This commit is contained in:
Andreas Schildbach 2014-07-07 13:12:00 +02:00
parent 7ddac5813d
commit 76312cb70a

View file

@ -51,7 +51,7 @@ public class ShProvider extends AbstractHafasProvider
public ShProvider() public ShProvider()
{ {
super(API_BASE + "stboard.exe/dn", null, API_BASE + "query.exe/dn", 10, null, UTF_8); super(API_BASE + "stboard.exe/dn", API_BASE + "ajax-getstop.exe/dn", API_BASE + "query.exe/dn", 10, UTF_8, UTF_8);
} }
public NetworkId id() public NetworkId id()
@ -278,12 +278,6 @@ public class ShProvider extends AbstractHafasProvider
} }
} }
@Override
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
{
return xmlMLcReq(constraint);
}
@Override @Override
protected char normalizeType(final String type) protected char normalizeType(final String type)
{ {