org.bbqjs.compiler.javascript
Class CompilableJavaScriptFile

java.lang.Object
  extended by org.bbqjs.compiler.AbstractCompilableFile
      extended by org.bbqjs.compiler.javascript.CompilableJavaScriptFile
All Implemented Interfaces:
CompilableFile

public class CompilableJavaScriptFile
extends AbstractCompilableFile


Field Summary
 
Fields inherited from class org.bbqjs.compiler.AbstractCompilableFile
contents, includedFiles, sourceRoots
 
Constructor Summary
CompilableJavaScriptFile(URL javaScriptInputFile, String packageName, String[] sourceRoots)
           
 
Method Summary
protected  void encounteredInclude(String className, URL javaScriptFile)
           
 String getPackageName()
           
static void setLogger(org.slf4j.Logger log)
           
 
Methods inherited from class org.bbqjs.compiler.AbstractCompilableFile
encounteredInclude, equals, findIncludes, getFilePath, getIncludedFiles, toString, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompilableJavaScriptFile

public CompilableJavaScriptFile(URL javaScriptInputFile,
                                String packageName,
                                String[] sourceRoots)
                         throws IOException
Throws:
IOException
Method Detail

setLogger

public static void setLogger(org.slf4j.Logger log)

encounteredInclude

protected void encounteredInclude(String className,
                                  URL javaScriptFile)
                           throws IOException
Overrides:
encounteredInclude in class AbstractCompilableFile
Throws:
IOException

getPackageName

public String getPackageName()


Copyright © 2012. All Rights Reserved.