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

Author:
Matthias K?nig <matthias.koenig@charite.de>
Date:
2013-05-17 17:11:27+02:00
Desc:
Work on the automatic HTML rendering.
Permanent Source URI:
https://staging.physiomeproject.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/675e6b4a0d367118705fe98f4c679a51ca6c5404/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);
  }
}