java.lang.Object
org.entur.netex.gtfs.export.util.TransportModeUtil
Utility class for transport modes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intgetGtfsExtendedRouteType(org.rutebanken.netex.model.Line line) Return the GTFS extended route type code for a given NeTEx Line:static intgetGtfsExtendedRouteType(org.rutebanken.netex.model.VehicleModeEnumeration transportMode) Return the GTFS extended route type code for a NeTEx netexTransportMode:static void
-
Method Details
-
getGtfsExtendedRouteType
public static int getGtfsExtendedRouteType(org.rutebanken.netex.model.Line line) Return the GTFS extended route type code for a given NeTEx Line:- Parameters:
line- a NeTEx line.- Returns:
- the GTFS extended route type code.
-
getGtfsExtendedRouteType
public static int getGtfsExtendedRouteType(org.rutebanken.netex.model.VehicleModeEnumeration transportMode) Return the GTFS extended route type code for a NeTEx netexTransportMode:- Parameters:
transportMode- a NeTEx transport mode.- Returns:
- the GTFS extended route type code.
-
main
-