Package org.goplanit.converter
Interface ConverterWriter<T>
-
- Type Parameters:
T
- writer type
- All Superinterfaces:
ConverterEntity
- All Known Subinterfaces:
DemandsWriter
,NetworkWriter
,ZoningWriter
- All Known Implementing Classes:
BaseWriterImpl
,MatsimNetworkWriter
,MatsimWriter
,MatsimZoningWriter
,PlanitNetworkWriter
,PlanitWriterImpl
,PlanitZoningWriter
public interface ConverterWriter<T> extends ConverterEntity
Interface for classes able to write a PLANit entities of given type 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 mappedConverterWriterSettings
getSettings()
any settings to configure the writer can be configured by collecting these settingsvoid
setIdMapperType(IdMapperType idMapper)
set the way ids should be mappedvoid
write(T entity)
write a network to the writer's output format.-
Methods inherited from interface org.goplanit.converter.ConverterEntity
getTypeDescription, reset
-
-
-
-
Method Detail
-
getSettings
ConverterWriterSettings getSettings()
any settings to configure the writer can be configured by collecting these settings- Returns:
- the settings to configure the writer
-
write
void write(T entity) throws PlanItException
write a network to the writer's output format.- Parameters:
entity
- entity 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
-
-