com.voltvoodoo.brew.compile
Class AbstractTextFileCompiler

java.lang.Object
  extended by com.voltvoodoo.brew.compile.AbstractTextFileCompiler
All Implemented Interfaces:
Compiler
Direct Known Subclasses:
HamlCompiler

public abstract class AbstractTextFileCompiler
extends java.lang.Object
implements Compiler


Constructor Summary
AbstractTextFileCompiler(java.lang.String outputFileSuffix)
           
 
Method Summary
 void compile(java.io.File source, java.io.File target)
           
 void compile(java.util.List<java.lang.String> files, java.io.File sourceDir, java.io.File targetDir)
           
abstract  java.lang.String compile(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTextFileCompiler

public AbstractTextFileCompiler(java.lang.String outputFileSuffix)
Method Detail

compile

public abstract java.lang.String compile(java.lang.String string)

compile

public void compile(java.io.File source,
                    java.io.File target)
             throws CoffeeScriptCompileException,
                    java.io.IOException
Throws:
CoffeeScriptCompileException
java.io.IOException

compile

public void compile(java.util.List<java.lang.String> files,
                    java.io.File sourceDir,
                    java.io.File targetDir)
Specified by:
compile in interface Compiler


Copyright © 2011 FuseSource. All Rights Reserved.