Package nl.colorize.multimedialib.tool
Class TeaVMTranspiler
- java.lang.Object
-
- nl.colorize.multimedialib.tool.CommandLineTool
-
- nl.colorize.multimedialib.tool.TeaVMTranspiler
-
public class TeaVMTranspiler extends CommandLineTool
Transpiles MultimediaLib applications to JavaScript using TeaVM. After transpilation has been completed, the generated JavaScript code is combined with the application's resource files and copied to the output directory.
-
-
Field Summary
Fields Modifier and Type Field Description booleanincrementaljava.lang.StringmainClassNamejava.io.FileoutputDirjava.lang.StringprojectNamejava.io.FileresourceDir
-
Constructor Summary
Constructors Constructor Description TeaVMTranspiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)voidrun()Runs this tool.-
Methods inherited from class nl.colorize.multimedialib.tool.CommandLineTool
getDescription, parseInputDirectory, parseInputFile, parseOutputDirectory, parseOutputFile, start
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
run
public void run()
Description copied from class:CommandLineToolRuns this tool. This method is called byCommandLineTool.start(String[]). When this method is called it can be assumed that arguments have already been mapped to fields.- Specified by:
runin classCommandLineTool
-
-