Package org.neuroml.export.nest
Class NestWriter
- java.lang.Object
-
- org.lemsml.export.base.ABaseWriter
-
- org.neuroml.export.base.ANeuroMLBaseWriter
-
- org.neuroml.export.nest.NestWriter
-
- All Implemented Interfaces:
IBaseWriter
public class NestWriter extends ANeuroMLBaseWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neuroml.export.base.ANeuroMLBaseWriter
ANeuroMLBaseWriter.CompInfo
-
-
Field Summary
-
Fields inherited from class org.neuroml.export.base.ANeuroMLBaseWriter
nmlDocument
-
Fields inherited from class org.lemsml.export.base.ABaseWriter
format, lems, sli
-
-
Constructor Summary
Constructors Constructor Description NestWriter(org.lemsml.jlems.core.type.Lems lems)
NestWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addComment(StringBuilder sb, String comment)
protected void
addCommentNestML(StringBuilder sb, String comment)
List<File>
convert()
String
getMainScript()
static void
main(String[] args)
void
setSupportedFeatures()
-
Methods inherited from class org.lemsml.export.base.ABaseWriter
getOutputFileName, getOutputFolder, setOutputFileName, setOutputFolder
-
-
-
-
Constructor Detail
-
NestWriter
public NestWriter(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
-
NestWriter
public NestWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName) throws ModelFeatureSupportException, org.neuroml.model.util.NeuroMLException, org.lemsml.jlems.core.sim.LEMSException
- Throws:
ModelFeatureSupportException
org.neuroml.model.util.NeuroMLException
org.lemsml.jlems.core.sim.LEMSException
-
-
Method Detail
-
setSupportedFeatures
public void setSupportedFeatures()
-
addComment
protected void addComment(StringBuilder sb, String comment)
- Specified by:
addComment
in classABaseWriter
-
addCommentNestML
protected void addCommentNestML(StringBuilder sb, String comment)
-
getMainScript
public String getMainScript() throws GenerationException, IOException
- Throws:
GenerationException
IOException
-
convert
public List<File> convert() throws GenerationException, IOException
- Throws:
GenerationException
IOException
-
-