groovy.text
Class GStringTemplateEngine

java.lang.Object
  extended by groovy.text.TemplateEngine
      extended by groovy.text.GStringTemplateEngine

public class GStringTemplateEngine
extends TemplateEngine

Author:
tug@wilson.co.uk, Paul King

Nested Class Summary
private static class GStringTemplateEngine.GStringTemplate
           
 
Field Summary
private static int counter
           
private  java.lang.ClassLoader parentLoader
           
 
Constructor Summary
GStringTemplateEngine()
           
GStringTemplateEngine(java.lang.ClassLoader parentLoader)
           
 
Method Summary
 Template createTemplate(java.io.Reader reader)
           
 
Methods inherited from class groovy.text.TemplateEngine
createTemplate, createTemplate, createTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentLoader

private final java.lang.ClassLoader parentLoader

counter

private static int counter
Constructor Detail

GStringTemplateEngine

public GStringTemplateEngine()

GStringTemplateEngine

public GStringTemplateEngine(java.lang.ClassLoader parentLoader)
Method Detail

createTemplate

public Template createTemplate(java.io.Reader reader)
                        throws CompilationFailedException,
                               java.lang.ClassNotFoundException,
                               java.io.IOException
Specified by:
createTemplate in class TemplateEngine
Throws:
CompilationFailedException
java.lang.ClassNotFoundException
java.io.IOException


Copyright © ${year} The Codehaus. All Rights Reserved.