|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--FESI.jslib.JSUtil
Abstract class used for interfacing the FESI EcmaScript interpreter with Java code. Contains the static utility functions, as the evaluator factory and object factory.
| Constructor Summary | |
|---|---|
JSUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getVersion()
Return the version identifier of the interpreter |
static java.lang.String |
getWelcomeText()
Return the welcome text (including copyright and version) of the interpreter (as two lines) |
static JSGlobalObject |
makeEvaluator()
Create a new evaluator, with no extension loaded. |
static JSGlobalObject |
makeEvaluator(java.lang.String[] extensions)
Create a new evaluator, with specfied extensions loaded. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JSUtil()
| Method Detail |
public static JSGlobalObject makeEvaluator()
throws JSException
JSException - For any error during initialization
public static JSGlobalObject makeEvaluator(java.lang.String[] extensions)
throws JSException
extensions - The class name of the extensions to load.
JSException - For any error during initializationpublic static java.lang.String getVersion()
public static java.lang.String getWelcomeText()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||