advanced code snippet search
yoshimov on 08/28/06
java groovy
08/28/06 04:49am
2 people have marked this snippet as a favorite
gwmccortlaurenceosx
setPropertyしたオブジェクトは、Groovyから宣言済みの変数として参照できる。
GroovyShell shell = new GroovyShell();Script script = shell.parse(new File(SCRIPT_FILE));script.setProperty("score1", score1);script.setProperty("score2", score2);Object ret = script.run();
Report this snippet Tweet
Comment:
You need to login to post a comment.