org.plovr
Class CoffeeFile
java.lang.Object
org.plovr.AbstractJsInput
org.plovr.LocalFileJsInput
org.plovr.CoffeeFile
- All Implemented Interfaces:
- SourceFile.Generator, JsInput
public class CoffeeFile
- extends LocalFileJsInput
CoffeeFile
represents a CoffeeScript source file on disk.
- Author:
- bolinfest@gmail.com (Michael Bolin)
getCode
public String getCode()
throws PlovrCoffeeScriptCompilerException
- Specified by:
getCode
in interface SourceFile.Generator
- Specified by:
getCode
in interface JsInput
- Specified by:
getCode
in class AbstractJsInput
- Returns:
- JavaScript code
- Throws:
PlovrCoffeeScriptCompilerException
- if the CoffeeScript compiler
encounters an error trying to compile the source