com.go.tea.util
Class AbstractFileCompiler

java.lang.Object
  |
  +--com.go.tea.compiler.Compiler
        |
        +--com.go.tea.util.AbstractFileCompiler
Direct Known Subclasses:
FileCompiler, RemoteCompiler

public abstract class AbstractFileCompiler
extends Compiler

Version:
2 , 01/02/06
Author:
Brian S O'Neill

Constructor Summary
protected AbstractFileCompiler()
           
protected AbstractFileCompiler(java.util.Map parseTreeMap)
           
 
Method Summary
 java.lang.String[] compileAll()
          Recursively compiles all files in the source directory.
abstract  java.lang.String[] getAllTemplateNames()
          Returns all sources (template names) available from the source directory and in all sub-directories.
 
Methods inherited from class com.go.tea.compiler.Compiler
addErrorListener, addStatusListener, compile, compile, createCodeGenerator, createCompilationUnit, createParser, createScanner, createSourceReader, createTypeChecker, getClassLoader, getCompilationUnit, getErrorCount, getImportedPackages, getRuntimeContext, getRuntimeContextMethods, getRuntimeReceiver, getRuntimeStringConverter, getStringConverterMethods, isCodeGenerationEnabled, isExceptionGuardianEnabled, loadClass, preserveParseTree, removeErrorListener, removeStatusListener, setClassLoader, setCodeGenerationEnabled, setExceptionGuardianEnabled, setRuntimeContext, sourceExists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFileCompiler

protected AbstractFileCompiler()

AbstractFileCompiler

protected AbstractFileCompiler(java.util.Map parseTreeMap)
Method Detail

compileAll

public java.lang.String[] compileAll()
                              throws java.io.IOException
Recursively compiles all files in the source directory.
Returns:
The names of all the compiled sources

getAllTemplateNames

public abstract java.lang.String[] getAllTemplateNames()
                                                throws java.io.IOException
Returns all sources (template names) available from the source directory and in all sub-directories.