Class PlanitIntermodalReaderSettings
- java.lang.Object
-
- org.goplanit.io.converter.intermodal.PlanitIntermodalReaderSettings
-
- All Implemented Interfaces:
ConverterReaderSettings
public class PlanitIntermodalReaderSettings extends Object implements ConverterReaderSettings
Settings of PLANit intermodal reader- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected PlanitNetworkReaderSettingsnetworkSettingsthe network settings to useprotected PlanitRoutedServicesReaderSettingsroutedServicesSettingsthe service settings to use, only relevant when reading with servicesprotected PlanitServiceNetworkReaderSettingsserviceNetworkSettingsthe service settings to use, only relevant when reading with servicesprotected PlanitZoningReaderSettingszoningSettingsthe zoning settings to use
-
Constructor Summary
Constructors Constructor Description PlanitIntermodalReaderSettings()Default constructorPlanitIntermodalReaderSettings(String inputPathDirectory)ConstructorPlanitIntermodalReaderSettings(String inputPathDirectory, String xmlFileExtension)ConstructorPlanitIntermodalReaderSettings(PlanitNetworkReaderSettings networkSettings, PlanitZoningReaderSettings zoningSettings)ConstructorPlanitIntermodalReaderSettings(PlanitNetworkReaderSettings networkSettings, PlanitZoningReaderSettings zoningSettings, PlanitServiceNetworkReaderSettings serviceNetworkSettings, PlanitRoutedServicesReaderSettings routedServicesSettings)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanitNetworkReaderSettingsgetNetworkSettings()provide access to the network reader settingsPlanitRoutedServicesReaderSettingsgetRoutedServicesSettings()provide access to the routed services settingsPlanitServiceNetworkReaderSettingsgetServiceNetworkSettings()provide access to the servicesNetworkSettingsPlanitZoningReaderSettingsgetZoningSettings()provide access to the zoning reader settingsvoidlogSettings()Log relevant settingsvoidreset()be able to reset all settings if neededvoidsetInputDirectory(String inputDirectory)set the input path directory used for all underlying component settings
-
-
-
Field Detail
-
networkSettings
protected final PlanitNetworkReaderSettings networkSettings
the network settings to use
-
zoningSettings
protected final PlanitZoningReaderSettings zoningSettings
the zoning settings to use
-
serviceNetworkSettings
protected final PlanitServiceNetworkReaderSettings serviceNetworkSettings
the service settings to use, only relevant when reading with services
-
routedServicesSettings
protected final PlanitRoutedServicesReaderSettings routedServicesSettings
the service settings to use, only relevant when reading with services
-
-
Constructor Detail
-
PlanitIntermodalReaderSettings
public PlanitIntermodalReaderSettings()
Default constructor
-
PlanitIntermodalReaderSettings
public PlanitIntermodalReaderSettings(String inputPathDirectory)
Constructor- Parameters:
inputPathDirectory- to use
-
PlanitIntermodalReaderSettings
public PlanitIntermodalReaderSettings(String inputPathDirectory, String xmlFileExtension)
Constructor- Parameters:
inputPathDirectory- to usexmlFileExtension- to use
-
PlanitIntermodalReaderSettings
public PlanitIntermodalReaderSettings(PlanitNetworkReaderSettings networkSettings, PlanitZoningReaderSettings zoningSettings)
Constructor- Parameters:
networkSettings- to usezoningSettings- to use
-
PlanitIntermodalReaderSettings
public PlanitIntermodalReaderSettings(PlanitNetworkReaderSettings networkSettings, PlanitZoningReaderSettings zoningSettings, PlanitServiceNetworkReaderSettings serviceNetworkSettings, PlanitRoutedServicesReaderSettings routedServicesSettings)
Constructor- Parameters:
networkSettings- to usezoningSettings- to useserviceNetworkSettings- to useroutedServicesSettings- to use
-
-
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
-
getNetworkSettings
public PlanitNetworkReaderSettings getNetworkSettings()
provide access to the network reader settings- Returns:
- network reader settings
-
getZoningSettings
public PlanitZoningReaderSettings getZoningSettings()
provide access to the zoning reader settings- Returns:
- zoning reader settings
-
getRoutedServicesSettings
public PlanitRoutedServicesReaderSettings getRoutedServicesSettings()
provide access to the routed services settings- Returns:
- routed services settings
-
getServiceNetworkSettings
public PlanitServiceNetworkReaderSettings getServiceNetworkSettings()
provide access to the servicesNetworkSettings- Returns:
- servicesNetworkSettings
-
setInputDirectory
public void setInputDirectory(String inputDirectory)
set the input path directory used for all underlying component settings- Parameters:
inputDirectory- to use
-
-