Location: Metabolic Component Library @ 5bd19a519545 / CellML-source / CellMLTools / src / tools / CellMLReader.java

Author:
Matthias K?nig <matthias.koenig@charite.de>
Date:
2013-05-15 08:27:35+02:00
Desc:
Some work on tutorial.
Permanent Source URI:
https://staging.physiomeproject.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/5bd19a519545f21ae16980a695bf5a1a51627fff/CellML-source/CellMLTools/src/tools/CellMLReader.java

package tools;
import cellml_api.CellMLBootstrap;
import cellml_api.Model;

public class CellMLReader {
	
  public static Model loadFromURL(CellMLBootstrap cb, String inputFileName){
    return cb.getModelLoader().loadFromURL(inputFileName);
  }
  
  public static Model createModel(CellMLBootstrap cb, String modelString){
    return cb.createModel(modelString);
  }
}