|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.script.ScriptCompiler
public class ScriptCompiler
This class is used to run Compile scripts.
Constructor Summary | |
---|---|
ScriptCompiler(String language,
ClassLoader classLoader)
Constructor. |
Method Summary | |
---|---|
Evaluatable |
compileScript(Reader reader)
Do the work. |
Invocable |
getInvocable()
The Invocable that result from the last compilation if the engine supports it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptCompiler(String language, ClassLoader classLoader)
language
- The language. Default to JavaScript.Method Detail |
---|
public Evaluatable compileScript(Reader reader)
public Invocable getInvocable()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |