Class GtfsServicesReaderFactory
- java.lang.Object
-
- org.goplanit.gtfs.converter.service.GtfsServicesReaderFactory
-
public class GtfsServicesReaderFactory extends Object
Factory for creating GtfsRoutedServicesReaders- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description GtfsServicesReaderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GtfsServicesReader
create(MacroscopicNetwork parentNetwork, String inputZipLocation, String countryName, DayOfWeek dayOfWeek, RouteTypeChoice typeChoice)
Create a GtfsRoutedServicesReader sourced from given input directorystatic GtfsServicesReader
create(MacroscopicNetwork parentNetwork, GtfsServicesReaderSettings settings)
Create a PlanitRoutedServicesReader based on given settings which in turn contain information on location and parent network to use
-
-
-
Method Detail
-
create
public static GtfsServicesReader create(MacroscopicNetwork parentNetwork, String inputZipLocation, String countryName, DayOfWeek dayOfWeek, RouteTypeChoice typeChoice)
Create a GtfsRoutedServicesReader sourced from given input directory- Parameters:
parentNetwork
- the network the routed services are assumed to be built uponinputZipLocation
- to usecountryName
- to usedayOfWeek
- to filter ontypeChoice
- to apply- Returns:
- created routed service reader
-
create
public static GtfsServicesReader create(MacroscopicNetwork parentNetwork, GtfsServicesReaderSettings settings)
Create a PlanitRoutedServicesReader based on given settings which in turn contain information on location and parent network to use- Parameters:
parentNetwork
- the network the routed services are assumed to be built uponsettings
- to use- Returns:
- created routed service reader
-
-