org.bbqjs.compiler.language
Class LanguageCompiler
java.lang.Object
org.bbqjs.compiler.AbstractCompiler<CompilableLanguageFile>
org.bbqjs.compiler.language.LanguageCompiler
- All Implemented Interfaces:
- Compiler
public class LanguageCompiler
- extends AbstractCompiler<CompilableLanguageFile>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LanguageCompiler
public LanguageCompiler(Locale locale,
Locale defaultLocale,
String[] libraries)
setLogger
public static void setLogger(org.slf4j.Logger log)
compile
public void compile(URL javaScriptInputFile,
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
createProperties
public Properties createProperties(URL javaScriptInputFile,
String[] sourceRoots)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.