Class GtfsIntermodalReaderSettings
- java.lang.Object
-
- org.goplanit.gtfs.converter.intermodal.GtfsIntermodalReaderSettings
-
- All Implemented Interfaces:
ConverterReaderSettings
public class GtfsIntermodalReaderSettings extends Object implements ConverterReaderSettings
Settings of GtfsIntermodalReader- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description StringDEFAULT_STOP_TO_STOP_COST_APPROACHdefault search for cheapest paths is based on free flow approachprotected GtfsServicesReaderSettingsservicesReaderSettingsthe services settings to useprotected GtfsZoningReaderSettingszoningSettingsthe zoning settings to use
-
Constructor Summary
Constructors Constructor Description GtfsIntermodalReaderSettings(String countryName)Constructor with user defined source locale, input source the current directory, and EXTENDED RouteTypeChoice appliedGtfsIntermodalReaderSettings(String inputSource, String countryName, DayOfWeek dayOfWeek, RouteTypeChoice routeTypeChoice)Constructor with user defined source localeGtfsIntermodalReaderSettings(String inputSource, String countryName, RouteTypeChoice routeTypeChoice)Constructor with user defined source localeGtfsIntermodalReaderSettings(URL inputSource, String countryName, DayOfWeek dayOfWeek, RouteTypeChoice routeTypeChoice)Constructor with user defined source locale
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCountryName()URLgetInputSource()GtfsServicesReaderSettingsgetServiceSettings()provide access to the service reader settingsStringgetStopToStopPathSearchPhysicalCostApproach()The methodology used to find the paths between stops by means of its full canonical class name which is assumed to be supported by PLANit as a valid cost generating methodGtfsZoningReaderSettingsgetZoningSettings()provide access to the zoning reader settingsvoidlogSettings()Log relevant settingsvoidreset()be able to reset all settings if neededvoidsetInputFile(String inputFile)Set the input file to use, which is internally converted into a URL
-
-
-
Field Detail
-
DEFAULT_STOP_TO_STOP_COST_APPROACH
public final String DEFAULT_STOP_TO_STOP_COST_APPROACH
default search for cheapest paths is based on free flow approach
-
servicesReaderSettings
protected final GtfsServicesReaderSettings servicesReaderSettings
the services settings to use
-
zoningSettings
protected final GtfsZoningReaderSettings zoningSettings
the zoning settings to use
-
-
Constructor Detail
-
GtfsIntermodalReaderSettings
public GtfsIntermodalReaderSettings(String countryName)
Constructor with user defined source locale, input source the current directory, and EXTENDED RouteTypeChoice applied- Parameters:
countryName- to base source locale on
-
GtfsIntermodalReaderSettings
public GtfsIntermodalReaderSettings(String inputSource, String countryName, RouteTypeChoice routeTypeChoice)
Constructor with user defined source locale- Parameters:
inputSource- to usecountryName- to base source locale onrouteTypeChoice- to apply
-
GtfsIntermodalReaderSettings
public GtfsIntermodalReaderSettings(String inputSource, String countryName, DayOfWeek dayOfWeek, RouteTypeChoice routeTypeChoice)
Constructor with user defined source locale- Parameters:
inputSource- to usecountryName- to base source locale ondayOfWeek- to filter onrouteTypeChoice- to apply
-
GtfsIntermodalReaderSettings
public GtfsIntermodalReaderSettings(URL inputSource, String countryName, DayOfWeek dayOfWeek, RouteTypeChoice routeTypeChoice)
Constructor with user defined source locale- Parameters:
inputSource- to usecountryName- to base source locale ondayOfWeek- to filter onrouteTypeChoice- to apply
-
-
Method Detail
-
reset
public void reset()
be able to reset all settings if needed- Specified by:
resetin interfaceConverterReaderSettings
-
logSettings
public void logSettings()
Log relevant settings- Specified by:
logSettingsin interfaceConverterReaderSettings
-
getServiceSettings
public GtfsServicesReaderSettings getServiceSettings()
provide access to the service reader settings- Returns:
- network reader settings
-
getZoningSettings
public GtfsZoningReaderSettings getZoningSettings()
provide access to the zoning reader settings- Returns:
- zoning reader settings
-
getCountryName
public String getCountryName()
-
getInputSource
public URL getInputSource()
-
setInputFile
public void setInputFile(String inputFile)
Set the input file to use, which is internally converted into a URL- Parameters:
inputFile- to use
-
getStopToStopPathSearchPhysicalCostApproach
public String getStopToStopPathSearchPhysicalCostApproach()
The methodology used to find the paths between stops by means of its full canonical class name which is assumed to be supported by PLANit as a valid cost generating method- Returns:
- stopToStopPathSearchPhysicalCostApproach
-
-