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

Author:
Matthias K?nig <matthias.koenig@charite.de>
Date:
2013-04-18 15:57:37+02:00
Desc:
Merge Example 2 changes.
Permanent Source URI:
https://staging.physiomeproject.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/c311fdf9d02beef408c718aab79c82d8531d51ca/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);
  }
}