org.teatrove.tea.util
Class FileCompiler.Unit

java.lang.Object
  extended by org.teatrove.tea.compiler.CompilationUnit
      extended by org.teatrove.tea.util.AbstractCompiler.AbstractUnit
          extended by org.teatrove.tea.util.FileCompiler.FileUnit
              extended by org.teatrove.tea.util.FileCompiler.Unit
All Implemented Interfaces:
EventListener, ErrorListener
Enclosing class:
FileCompiler

public class FileCompiler.Unit
extends FileCompiler.FileUnit


Field Summary
 
Fields inherited from class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
mDestDir, mDestFile, mDotPath, mSourceFileName, mSourceFilePath
 
Method Summary
protected  long getLastModified()
           
 File getSourceFile()
           
protected  InputStream getTemplateSource(String templateSourceName)
           
 
Methods inherited from class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
getClassName, getClassName, getDestinationFile, getDestinationLastModified, getOutputStream, getReader, getSourceFileName, getTargetPackage, resetOutputStream, shouldCompile, shouldCompile
 
Methods inherited from class org.teatrove.tea.compiler.CompilationUnit
compileError, getCompiler, getErrorCount, getImportedPackages, getName, getParseTree, getRuntimeContext, getShortName, setParseTree, signatureEquals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSourceFile

public File getSourceFile()

getTemplateSource

protected InputStream getTemplateSource(String templateSourceName)
                                 throws IOException
Specified by:
getTemplateSource in class AbstractCompiler.AbstractUnit
Throws:
IOException

getLastModified

protected long getLastModified()
Specified by:
getLastModified in class AbstractCompiler.AbstractUnit


Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.