Package org.planit.network.converter
Interface NetworkWriter
-
- All Known Implementing Classes:
NetworkWriterImpl
,PlanitNetworkWriter
public interface NetworkWriter
Interface 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 IdMapperType
getIdMapperType()
collect the way the ids should be mappedvoid
setIdMapperType(IdMapperType idMapper)
set the way ids should be mappedvoid
write(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
-
-