org.codehaus.gram
Class Gram
java.lang.Object
org.codehaus.gram.Gram
- public class Gram
- extends Object
A helper service for invoking Groovy scripts based on a JAM service
- Version:
- $Revision: 2906 $
Constructor Summary |
Gram(org.codehaus.jam.JamService jam)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Gram
public Gram(org.codehaus.jam.JamService jam)
main
public static void main(String[] args)
execute
public void execute(String script)
throws org.codehaus.groovy.control.CompilationFailedException,
IOException
- Throws:
org.codehaus.groovy.control.CompilationFailedException
IOException
execute
public void execute(File script)
throws IOException,
org.codehaus.groovy.control.CompilationFailedException
- Throws:
IOException
org.codehaus.groovy.control.CompilationFailedException
createShell
protected groovy.lang.GroovyShell createShell()
Copyright © 2004-2007 The Codehaus. All Rights Reserved.