biouml.plugins.sbml
Class SbmlImporter
java.lang.Object
biouml.plugins.sbml.SbmlImporter
- All Implemented Interfaces:
- DiagramImporter
- public class SbmlImporter
- extends java.lang.Object
- implements DiagramImporter
|
Field Summary |
protected static org.apache.log4j.Category |
log
|
|
Method Summary |
boolean |
accept(java.io.File file)
Returns true if the specified file can be imported. |
void |
doImport(Module module,
java.io.File file,
java.lang.String diagramName)
Imports diagram from the spcified file into the specified module. |
protected int |
getAttrValue(java.lang.String str,
java.lang.String attr)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Category log
SbmlImporter
public SbmlImporter()
accept
public boolean accept(java.io.File file)
- Description copied from interface:
DiagramImporter
- Returns true if the specified file can be imported.
- Specified by:
accept in interface DiagramImporter
- Parameters:
file - - file with data that will be imported to the diagram
getAttrValue
protected int getAttrValue(java.lang.String str,
java.lang.String attr)
doImport
public void doImport(Module module,
java.io.File file,
java.lang.String diagramName)
throws java.lang.Exception
- Description copied from interface:
DiagramImporter
- Imports diagram from the spcified file into the specified module.
- Specified by:
doImport in interface DiagramImporter
- Parameters:
module - - module where the imported diagram will be locatedfile - - data file to be impored (for example file with SBML or CellML model)diagramName - - name of the diagram in the module.
- Throws:
java.lang.Exception- To do:
- Play with diagramName and diagram.getName() -
there is something bad, Implement clone() method of EModel
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.