org.sbml.jsbml
T
- The type of output model that can be treated by this converter.public interface SBMLOutputConverter<T>
Modifier and Type | Method and Description |
---|---|
java.util.List<SBMLException> |
getWriteWarnings(T model) |
boolean |
writeSBML(T model,
java.lang.String filename)
This method is identical to the method
writeSBML(Object, String, String, String) ,
but without the option to pass the program's name or version to the writer. |
boolean |
writeSBML(T model,
java.lang.String filename,
java.lang.String programName,
java.lang.String versionNumber)
Writes the given model (in which format it might be given) to an SBML file
as specified by the given filename and returns
true if this
operation could be successfully executed, false otherwise. |
java.util.List<SBMLException> getWriteWarnings(T model)
model
- boolean writeSBML(T model, java.lang.String filename) throws SBMLException, java.io.IOException
writeSBML(Object, String, String, String)
,
but without the option to pass the program's name or version to the writer.model
- filename
- SBMLException
java.io.IOException
writeSBML(Object, String, String, String)
boolean writeSBML(T model, java.lang.String filename, java.lang.String programName, java.lang.String versionNumber) throws SBMLException, java.io.IOException
true
if this
operation could be successfully executed, false
otherwise.model
- the model (in whatever format, but with respect to the type of
this generic class).filename
- the file's absolute or relative path to which the SBML code
should be serialized.programName
- the name of the program that uses this method.versionNumber
- the version number of the program that accesses this
method.true
if this
operation could be successfully executed, false
otherwise.SBMLException
java.io.IOException
writeSBML(Object, String)