Package org.lemsml.export.base
Class ABaseWriter
- java.lang.Object
-
- org.lemsml.export.base.ABaseWriter
-
- All Implemented Interfaces:
IBaseWriter
- Direct Known Subclasses:
ANeuroMLBaseWriter
,AXMLWriter
,CWriter
,DLemsWriter
,JNeuroMLWriter
,MatlabWriter
,ModelicaWriter
,VHDLWriter
public abstract class ABaseWriter extends Object implements IBaseWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected Format
format
protected org.lemsml.jlems.core.type.Lems
lems
protected static SupportLevelInfo
sli
-
Constructor Summary
Constructors Constructor Description ABaseWriter(org.lemsml.jlems.core.type.Lems lems, Format format)
ABaseWriter(org.lemsml.jlems.core.type.Lems lems, Format format, boolean checkSupportedFeatures)
ABaseWriter(org.lemsml.jlems.core.type.Lems lems, Format format, File outputFolder, String outputFileName)
ABaseWriter(org.lemsml.jlems.core.type.Lems lems, Format format, File outputFolder, String outputFileName, boolean checkSupportedFeatures)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
addComment(StringBuilder sb, String comment)
String
getOutputFileName()
File
getOutputFolder()
void
setOutputFileName(String outputFileName)
void
setOutputFolder(File outputFolder)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.lemsml.export.base.IBaseWriter
convert, setSupportedFeatures
-
-
-
-
Field Detail
-
lems
protected org.lemsml.jlems.core.type.Lems lems
-
format
protected final Format format
-
sli
protected static SupportLevelInfo sli
-
-
Constructor Detail
-
ABaseWriter
public ABaseWriter(org.lemsml.jlems.core.type.Lems lems, Format format) 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
-
ABaseWriter
public ABaseWriter(org.lemsml.jlems.core.type.Lems lems, Format format, boolean checkSupportedFeatures) 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
-
ABaseWriter
public ABaseWriter(org.lemsml.jlems.core.type.Lems lems, Format format, 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
-
ABaseWriter
public ABaseWriter(org.lemsml.jlems.core.type.Lems lems, Format format, File outputFolder, String outputFileName, boolean checkSupportedFeatures) 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
-
addComment
protected abstract void addComment(StringBuilder sb, String comment)
-
getOutputFolder
public File getOutputFolder()
-
setOutputFolder
public void setOutputFolder(File outputFolder)
- Specified by:
setOutputFolder
in interfaceIBaseWriter
-
getOutputFileName
public String getOutputFileName()
-
setOutputFileName
public void setOutputFileName(String outputFileName)
- Specified by:
setOutputFileName
in interfaceIBaseWriter
-
-