ICompilerFactory
.ClassLoader
that, unlike usual ClassLoader
s, does not load byte code, but reads Java source
code and then scans, parses, compiles and loads it into the virtual machine.Object
.class
ClassLoader
that loads this classes on the boot class path, i.e. the JARs in the JRE's "lib" and
"lib/ext" directories, but not the JARs and class directories specified through the class path.IClassBodyEvaluator
API.ICompilerFactory
s.Reader
.Reader
.InputStream
, encoded
in the "platform default encoding".InputStream
, encoded
in the "platform default encoding".InputStream
with the given encoding
.InputStream
with the given encoding
.String
.String
.ICookable.cook(Reader)
, but for multiple scripts.ICookable.cook(String, Reader)
, but cooks a set of scripts into one class.ICookable.cook(String)
, but for multiple scripts.ICookable.cook(String, String)
, but for multiple scripts.ICookable
.File
, encoded in the "platform default
encoding".File
with the given encoding
.IExpressionEvaluator.createFastEvaluator(String, Class, String[])
.Reader
, then creates
and returns an instance of that class.IScriptEvaluator.evaluate(Object[])
, but for multiple scripts.ExpressionEvaluator
class.org.codehaus.commons.compiler
on the class path, then loads and
instantiates their ICompilerFactory
s.ClassLoader
object through which the previously compiled classes can be accessed.Class
.ICompilerFactory
by class name.org.codehaus.commons.compiler
on the class path, then loads and
instantiates its ICompilerFactory
.Method
.IScriptEvaluator.getMethod()
, but for multiple scripts.CompileException
.CompileException
.Class
object ready for use with
java.lang.reflect.IExpressionEvaluator
, IScriptEvaluator
, IClassBodyEvaluator
, ISimpleCompiler
or AbstractJavaSourceClassLoader
.null
.IExpressionEvaluator
, an IScriptEvaluator
, an
IClassBodyEvaluator
and an ISimpleCompiler
.ScriptEvaluator
class.CompileException
s are thrown on compile errors, but an application my install its own
ErrorHandler
.IClassBodyEvaluator.setExtendedClass(Class)
insteadIScriptEvaluator.setMethodName(String)
, but for multiple scripts.IScriptEvaluator.setOverrideMethod(boolean)
, but for multiple scripts.IScriptEvaluator.setParameters(String[], Class[])
, but for multiple scripts.IExpressionEvaluator
; use IExpressionEvaluator.setExpressionType(Class)
insteadIExpressionEvaluator
; use IExpressionEvaluator.setExpressionTypes(Class[])
insteadIScriptEvaluator.setStaticMethod(boolean)
, but for multiple scripts.IScriptEvaluator.setThrownExceptions(Class[])
, but for multiple scripts.WarningHandler
.ExpressionEvaluator
class.Class
es.Location
into an english text, like 'File Main.java, Line 23, Column 79
'.Copyright © 2016. All rights reserved.