Package org.planit.network.converter
Interface NetworkWriter
-
- All Known Implementing Classes:
NetworkWriterImpl,PlanitNetworkWriter
public interface NetworkWriterInterface for classes able to write a PLANit network to disk- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdMapperTypegetIdMapperType()collect the way the ids should be mappedvoidsetIdMapperType(IdMapperType idMapper)set the way ids should be mappedvoidwrite(InfrastructureNetwork network)write a network to the writer's output format.
-
-
-
Method Detail
-
write
void write(InfrastructureNetwork network) throws PlanItException
write a network to the writer's output format.- Parameters:
network- memory model network to write- Throws:
PlanItException- thrown if error
-
getIdMapperType
IdMapperType getIdMapperType()
collect the way the ids should be mapped- Returns:
- the idmapping choice
-
setIdMapperType
void setIdMapperType(IdMapperType idMapper)
set the way ids should be mapped- Parameters:
idMapper- to use
-
-