public final class Bck2BrwsrJars extends Object
| Modifier and Type | Method and Description |
|---|---|
static Bck2Brwsr |
configureFrom(Bck2Brwsr c,
File jar)
Creates new compiler pre-configured from the content of
provided JAR file.
|
static Bck2Brwsr |
configureFrom(Bck2Brwsr c,
File jar,
ClassLoader classpath)
Creates new compiler pre-configured from the content of
provided JAR file.
|
static Bck2Brwsr |
configureFrom(Bck2Brwsr c,
File jar,
ClassLoader classpath,
boolean ignoreBootClassPath)
Creates new compiler pre-configured from the content of
provided JAR file.
|
public static Bck2Brwsr configureFrom(Bck2Brwsr c, File jar) throws IOException
c - the compiler to add classes,
add resources and
exported objects to.
Can be null - in such case an
empty compiler is constructed.jar - the file to processIOException - if something goes wrongpublic static Bck2Brwsr configureFrom(Bck2Brwsr c, File jar, ClassLoader classpath) throws IOException
c - the compiler to add classes,
add resources and
exported objects to.
Can be null - in such case an
empty compiler is constructed.jar - the file to processclasspath - additional resources to make available during
compilation, but not include them in the generated JavaScriptIOException - if something goes wrongpublic static Bck2Brwsr configureFrom(Bck2Brwsr c, File jar, ClassLoader classpath, boolean ignoreBootClassPath) throws IOException
c - the compiler to add classes,
add resources and
exported objects to.
Can be null - in such case an
empty compiler is constructed.jar - the file to processclasspath - additional resources to make available during
compilation, but not include them in the generated JavaScriptignoreBootClassPath - should we ignore classes on bootclasspath?IOException - if something goes wrongCopyright © 2020 API Design. All Rights Reserved.