org.bbqjs.compiler.css
Class CSSCompiler

java.lang.Object
  extended by org.bbqjs.compiler.AbstractCompiler<CompilableCSSFile>
      extended by org.bbqjs.compiler.css.CSSCompiler
All Implemented Interfaces:
Compiler

public class CSSCompiler
extends AbstractCompiler<CompilableCSSFile>


Field Summary
 
Fields inherited from class org.bbqjs.compiler.AbstractCompiler
libraries
 
Constructor Summary
CSSCompiler(String theme, String[] libraries)
           
 
Method Summary
 void compile(URL inputFile, String packageName, OutputStream outputStream, String[] sourceRoots)
          Writes the compiled form of the input file into the passed output stream.
protected  URL findFile(URL inputFile, String fileName)
           
static void setLogger(org.slf4j.Logger log)
           
 
Methods inherited from class org.bbqjs.compiler.AbstractCompiler
afterWrittenLibrariesToOutputStream, compile, compileToOutputStream, parseInputFile, writeToOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSCompiler

public CSSCompiler(String theme,
                   String[] libraries)
Method Detail

setLogger

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

compile

public void compile(URL inputFile,
                    String packageName,
                    OutputStream outputStream,
                    String[] sourceRoots)
             throws IOException
Description copied from interface: Compiler
Writes the compiled form of the input file into the passed output stream.

Throws:
IOException

findFile

protected URL findFile(URL inputFile,
                       String fileName)
                throws MalformedURLException
Throws:
MalformedURLException


Copyright © 2012. All Rights Reserved.