Package groovy.util

Examples of groovy.util.DelegatingScript


     */
    public void parse(Reader reader) {
        CompilerConfiguration cc = new CompilerConfiguration();
        cc.setScriptBaseClass(DelegatingScript.class.getCanonicalName());
        GroovyShell sh = new GroovyShell(getClass().getClassLoader(),new Binding(),cc);
        DelegatingScript script = null;
        script = (DelegatingScript)sh.parse(reader);
        script.setDelegate(delegate);
        script.run();
    }
View Full Code Here

TOP

Related Classes of groovy.util.DelegatingScript

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.