mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 16:20:34 +00:00
line BuFB
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@782 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
77ed4f67e6
commit
b59f39c618
2 changed files with 4 additions and 2 deletions
|
@ -1685,7 +1685,7 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static final Pattern P_NORMALIZE_LINE = Pattern.compile("([A-Za-zßÄÅäáàâåéèêíìîÖöóòôÜüúùûØ/-]+)[\\s-]*(.*)");
|
protected static final Pattern P_NORMALIZE_LINE = Pattern.compile("([A-Za-zßÄÅäáàâåéèêíìîÖöóòôÜüúùûØ/]+)[\\s-]*(.*)");
|
||||||
|
|
||||||
protected String normalizeLine(final String type, final String line)
|
protected String normalizeLine(final String type, final String line)
|
||||||
{
|
{
|
||||||
|
|
|
@ -359,11 +359,13 @@ public class RmvProvider extends AbstractHafasProvider
|
||||||
return "B" + number;
|
return "B" + number;
|
||||||
if (type.equals("BN"))
|
if (type.equals("BN"))
|
||||||
return "BN" + number;
|
return "BN" + number;
|
||||||
|
if ("BuFB".equals(type))
|
||||||
|
return "BBuFB" + number;
|
||||||
if (type.equals("N"))
|
if (type.equals("N"))
|
||||||
return "BN" + number;
|
return "BN" + number;
|
||||||
if (type.equals("AS")) // Anruf-Sammel-Taxi
|
if (type.equals("AS")) // Anruf-Sammel-Taxi
|
||||||
return "BAS" + number;
|
return "BAS" + number;
|
||||||
if (type.equals("ASOF-")) // Anruf-Sammel-Taxi
|
if (type.equals("ASOF")) // Anruf-Sammel-Taxi
|
||||||
return "BASOF" + number;
|
return "BASOF" + number;
|
||||||
if (type.startsWith("AST")) // Anruf-Sammel-Taxi
|
if (type.startsWith("AST")) // Anruf-Sammel-Taxi
|
||||||
return "BAST" + type.substring(3) + number;
|
return "BAST" + type.substring(3) + number;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue