Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM