biouml.model
Interface DiagramImporter
- All Known Implementing Classes:
- CellMLImporter, GinMLImporter, SbmlImporter
- public interface DiagramImporter
General interface to import digaram, for example from SBML or CellML file.
| Method Summary |
boolean | accept(File file) Returns true if the specified file can be imported. |
void | doImport(Module module, File file, String diagramName) Imports diagram from the spcified file into the specified module. |
accept
public boolean accept(File file)
- Returns true if the specified file can be imported.
- Parameters:
- file - - file with data that will be imported to the diagram
doImport
public void doImport(Module module, File file, String diagramName)
throws java.lang.Exception
- Imports diagram from the spcified file into the specified module.
- Parameters:
- module - - module where the imported diagram will be located
- file - - data file to be impored (for example file with SBML or CellML model)
- diagramName - - name of the diagram in the module.
BOTTOM