Resource Menu


RE : Fisrt step
Hi,

I do this :

public class FakeGenericInterpreter ....

Interpreter interpreter ;

public FakeGenericInterpreter (){ interpreter = new Interpreter();

}

public Object eval(String script) throws ScriptException {

try { return interpreter.eval(script); } catch (EvalError e) { // TODO Auto-generated catch block e.printStackTrace(); } return null; }

Am I right ?

posted by Erwan at Jan 15, 2008 9:53 AM