| java.lang.Object jimm.datavision.Scripting
DEFAULT_CLASS | final protected static String DEFAULT_CLASS(Code) | | |
DEFAULT_LANGUAGE | final protected static String DEFAULT_LANGUAGE(Code) | | |
addLanguage | public void addLanguage(String language, String className)(Code) | | Adds a language to our list.
|
canFind | public boolean canFind(String klass)(Code) | | Returns true if we can load class klass.
|
eval | public Object eval(String language, String evalString, String name) throws BSFException(Code) | | Evaluates an evalString using language and returns
the results.
Parameters: language - the language to use Parameters: evalString - the string to evaluate Parameters: name - a name (for example, a formula name) to display with errormessages the result |
getBsfManager | public BSFManager getBsfManager() throws BSFException(Code) | | Returns BSFManager for the default language.
|
getBsfManager | public BSFManager getBsfManager(String language) throws BSFException(Code) | | Returns BSFManager for language.
|
getDefaultLanguage | public String getDefaultLanguage()(Code) | | Returns the default language name.
|
getLanguages | public Map getLanguages()(Code) | | Returns an immutable copy of the map of languages.
|
replaceLanguages | public void replaceLanguages(Map langs)(Code) | | Replace the contents of our language map with the contents of
langs.
Parameters: langs - maps language names to class names |
setDefaultLanguage | public void setDefaultLanguage(String language)(Code) | | Sets the default language name.
|
|
|