Modifier and Type | Method and Description |
---|---|
Bck2Brwsr |
Bck2Brwsr.addClasses(String... classes)
Adds additional classes
to the list of those that should be included in the generated
JavaScript file.
|
Bck2Brwsr |
Bck2Brwsr.addExported(String... exported)
Adds exported classes or packages.
|
Bck2Brwsr |
Bck2Brwsr.addResources(String... resources)
These resources should be made available in the compiled file in
binary form.
|
Bck2Brwsr |
Bck2Brwsr.addRootClasses(String... classes)
Adds additional classes
to the list of those that should be included in the generated
JavaScript file.
|
Bck2Brwsr |
Bck2Brwsr.library(String... classpath)
Should one generate a library? By default the system generates
all transitive classes needed by the the transitive closure of
addRootClasses(java.lang.String...) and addClasses(java.lang.String...) . |
static Bck2Brwsr |
Bck2Brwsr.newCompiler()
Creates new instance of Bck2Brwsr compiler which is ready to generate
empty Bck2Brwsr virtual machine.
|
Bck2Brwsr |
Bck2Brwsr.obfuscation(ObfuscationLevel level)
Changes the obfuscation level for the compiler by creating new instance
which inherits all values from
this and adjust the level
of obfuscation. |
Bck2Brwsr |
Bck2Brwsr.resources(Bck2Brwsr.Resources res)
A way to change the provider of additional resources (classes) for the
compiler.
|
Bck2Brwsr |
Bck2Brwsr.resources(ClassLoader loader)
A way to change the provider of additional resources (classes) for the
compiler by specifying classloader to use for loading them.
|
Bck2Brwsr |
Bck2Brwsr.resources(ClassLoader loader,
boolean ignoreBootClassPath)
A way to change the provider of additional resources (classes) for the
compiler by specifying classloader to use for loading them.
|
Bck2Brwsr |
Bck2Brwsr.standalone(boolean includeVM)
Turns on the standalone mode.
|
Copyright © 2022 API Design. All Rights Reserved.