mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 08:39:50 +00:00
new interface method to determine typical products of a network
This commit is contained in:
parent
29f719db5a
commit
4a65796401
16 changed files with 124 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
package de.schildbach.pte;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
|
@ -188,6 +189,12 @@ public class NriProvider extends AbstractHafasProvider
|
|||
return jsonGetStops(uri);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<Product> defaultProducts()
|
||||
{
|
||||
return Product.ALL;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected char normalizeType(final String type)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue