Package org.lemsml.export.modelica
Class ModelicaWriter
- java.lang.Object
-
- org.lemsml.export.base.ABaseWriter
-
- org.lemsml.export.modelica.ModelicaWriter
-
- All Implemented Interfaces:
IBaseWriter
public class ModelicaWriter extends ABaseWriter
-
-
Field Summary
-
Fields inherited from class org.lemsml.export.base.ABaseWriter
format, lems, sli
-
-
Constructor Summary
Constructors Constructor Description ModelicaWriter(org.lemsml.jlems.core.type.Lems lems)
ModelicaWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addComment(StringBuilder sb, String comment)
List<File>
convert()
void
setSupportedFeatures()
-
Methods inherited from class org.lemsml.export.base.ABaseWriter
getOutputFileName, getOutputFolder, setOutputFileName, setOutputFolder
-
-
-
-
Constructor Detail
-
ModelicaWriter
public ModelicaWriter(org.lemsml.jlems.core.type.Lems lems) throws ModelFeatureSupportException, org.lemsml.jlems.core.sim.LEMSException, org.neuroml.model.util.NeuroMLException
- Throws:
ModelFeatureSupportException
org.lemsml.jlems.core.sim.LEMSException
org.neuroml.model.util.NeuroMLException
-
ModelicaWriter
public ModelicaWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName) throws ModelFeatureSupportException, org.lemsml.jlems.core.sim.LEMSException, org.neuroml.model.util.NeuroMLException
- Throws:
ModelFeatureSupportException
org.lemsml.jlems.core.sim.LEMSException
org.neuroml.model.util.NeuroMLException
-
-
Method Detail
-
setSupportedFeatures
public void setSupportedFeatures()
-
addComment
protected void addComment(StringBuilder sb, String comment)
- Specified by:
addComment
in classABaseWriter
-
convert
public List<File> convert() throws GenerationException, IOException
- Throws:
GenerationException
IOException
-
-