org.teatrove.tea.util
Class FileCompiler.JarredUnit

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.JarredUnit
All Implemented Interfaces:
EventListener, ErrorListener
Enclosing class:
FileCompiler

public class FileCompiler.JarredUnit
extends FileCompiler.FileUnit


Field Summary
 
Fields inherited from class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
mDestDir, mDestFile, mDotPath, mSourceFileName, mSourceFilePath
 
Constructor Summary
FileCompiler.JarredUnit(File file, String name, Compiler compiler)
           
 
Method Summary
 JarEntry getJarEntry()
           
protected  long getLastModified()
           
 String getSourceFileName()
           
 URL getSourceUrl()
           
protected  InputStream getTemplateSource(String templateSourceName)
           
 void syncTimes()
           
 
Methods inherited from class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
getClassName, getClassName, getDestinationFile, getDestinationLastModified, getOutputStream, getReader, 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
 

Constructor Detail

FileCompiler.JarredUnit

public FileCompiler.JarredUnit(File file,
                               String name,
                               Compiler compiler)
                        throws IOException
Throws:
IOException
Method Detail

getSourceFileName

public String getSourceFileName()
Overrides:
getSourceFileName in class AbstractCompiler.AbstractUnit

getJarEntry

public JarEntry getJarEntry()

getSourceUrl

public URL getSourceUrl()

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

syncTimes

public void syncTimes()


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