org.bbqjs.compiler.css
Class CompilableCSSFile

java.lang.Object
  extended by org.bbqjs.compiler.AbstractCompilableFile
      extended by org.bbqjs.compiler.css.CompilableCSSFile
All Implemented Interfaces:
CompilableFile

public class CompilableCSSFile
extends AbstractCompilableFile


Field Summary
 
Fields inherited from class org.bbqjs.compiler.AbstractCompilableFile
contents, includedFiles, sourceRoots
 
Constructor Summary
CompilableCSSFile(URL javaScriptInputFile, URL cssFile, String theme, String[] sourceRoots)
           
 
Method Summary
protected  void encounteredInclude(String className, URL javaScriptFile)
           
static void setLogger(org.slf4j.Logger log)
           
 void writeTo(OutputStream outputStream)
          Calling this method will cause the contents of the file to be written into the output stream.
 
Methods inherited from class org.bbqjs.compiler.AbstractCompilableFile
encounteredInclude, equals, findIncludes, getFilePath, getIncludedFiles, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompilableCSSFile

public CompilableCSSFile(URL javaScriptInputFile,
                         URL cssFile,
                         String theme,
                         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

writeTo

public void writeTo(OutputStream outputStream)
             throws IOException
Description copied from interface: CompilableFile
Calling this method will cause the contents of the file to be written into the output stream.

Specified by:
writeTo in interface CompilableFile
Overrides:
writeTo in class AbstractCompilableFile
Throws:
IOException


Copyright © 2012. All Rights Reserved.