Interface IntermodalReader<T extends ServiceNetwork,U extends RoutedServices>
-
- All Superinterfaces:
ConverterEntity
,PairConverterReader<MacroscopicNetwork,Zoning>
- All Known Implementing Classes:
GtfsIntermodalReader
,OsmIntermodalReader
,PlanitIntermodalReader
public interface IntermodalReader<T extends ServiceNetwork,U extends RoutedServices> extends PairConverterReader<MacroscopicNetwork,Zoning>
Abstract base class implementation to parser an intermodal PLANit network. In addition, implementations may choose to also support the parsing of additional service networks and routed services.- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
getTypeDescription()
short description (one word capitals) of this reader for logging purposesQuadruple<MacroscopicNetwork,Zoning,T,U>
readWithServices()
boolean
supportServiceConversion()
Verify if services can be read as part of the intermodal reader exercise, only when truereadWithServices()
can be called-
Methods inherited from interface org.goplanit.converter.ConverterEntity
reset
-
Methods inherited from interface org.goplanit.converter.PairConverterReader
getSettings, read
-
-
-
-
Method Detail
-
getTypeDescription
default String getTypeDescription()
short description (one word capitals) of this reader for logging purposes- Specified by:
getTypeDescription
in interfaceConverterEntity
- Returns:
- description
-
supportServiceConversion
boolean supportServiceConversion()
Verify if services can be read as part of the intermodal reader exercise, only when truereadWithServices()
can be called- Returns:
- true when services can be parsed, false otherwise and only the regular
PairConverterReader.read()
is available
-
readWithServices
Quadruple<MacroscopicNetwork,Zoning,T,U> readWithServices() throws PlanItException
- Throws:
PlanItException
-
-