public Model importModel(File importFile) throws TransformerException, TransformerConfigurationException, FileNotFoundException, ParseException, LemException, IOException { Lem l = new Lem(); String s = importXMI(importFile); return l.parse(new StringBufferInputStream(s)); }
public Model loadModel(File modelFile) throws FileNotFoundException, ParseException, LemException, IOException { Lem l = new Lem(); FileInputStream fis = new FileInputStream(modelFile); return l.parse(fis); }