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

Author:
Randall Britten <r.britten@auckland.ac.nz>
Date:
2013-04-17 15:40:27+12:00
Desc:
Trivial whitespace changes, and moved import to be adjacent to peer import.
Permanent Source URI:
https://models.cellml.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/38fe44af096fb53d9b250091fe0563b33b5f778f/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);
  }
}