org.sbml.jsbml
T
- The type of input model that can be treated by this converter.public interface SBMLInputConverter<T>
Modifier and Type | Method and Description |
---|---|
Model |
convertModel(T model)
Takes a model in an arbitrary (but type-secure) format and delivers a
corresponding JSBML-compliant model.
|
SBMLDocument |
convertSBMLDocument(java.io.File sbmlFile) |
SBMLDocument |
convertSBMLDocument(java.lang.String fileName) |
T |
getOriginalModel() |
java.util.List<SBMLException> |
getWarnings()
Creates an SBML error report and returns the list of errors.
|
void |
setListener(ProgressListener listener) |
Model convertModel(T model) throws java.lang.Exception
model
- java.lang.Exception
SBMLDocument convertSBMLDocument(java.io.File sbmlFile) throws java.lang.Exception
sbmlFile
- java.lang.Exception
SBMLDocument convertSBMLDocument(java.lang.String fileName) throws java.lang.Exception
fileName
- java.lang.Exception
T getOriginalModel()
convertModel(Object)
. Typically, the identical
result can also be obtained by calling
AbstractTreeNode.getUserObject(Object)
with
#ORIGINAL_MODEL_KEY
as parameter.java.util.List<SBMLException> getWarnings()
void setListener(ProgressListener listener)
listener
- the listener to set