Package htmlcompiler.compilers.scripts
Interface CodeCompiler
public interface CodeCompiler
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CodeCompiler.CompileArgumentsSupplier
-
Method Summary
Modifier and Type Method Description String
compileCode(String code, Path parent)
String
compileCode(Path style)
static CodeCompiler
newExternalToolCompiler(String toolName, String scriptExtension, boolean deleteFirst, String tempFileExtension, CodeCompiler.CompileArgumentsSupplier supplier)
static CodeCompiler
newExternalToolCompiler(String toolName, String scriptExtension, CodeCompiler.CompileArgumentsSupplier supplier)
static CodeCompiler
newNopCompiler()
-
Method Details
-
compileCode
- Throws:
Exception
-
compileCode
- Throws:
Exception
-
newNopCompiler
-
newExternalToolCompiler
static CodeCompiler newExternalToolCompiler(String toolName, String scriptExtension, CodeCompiler.CompileArgumentsSupplier supplier) -
newExternalToolCompiler
static CodeCompiler newExternalToolCompiler(String toolName, String scriptExtension, boolean deleteFirst, String tempFileExtension, CodeCompiler.CompileArgumentsSupplier supplier)
-