殷勤板栗

文章
3
资源
1
加入时间
3年1月22天

在java中执行 groovy script 方法

如何在java中使用groovyshell来执行sript , 例如:GroovyShell shell = new GroovyShell();Script scrpt = shell.parse("script.groovy");Binding binding = new Binding();binding.setVariable("str1", "value1");bind