Package com.skillw.asahi.api.script
Class AsahiEngineFactory
-
- All Implemented Interfaces:
-
javax.script.ScriptEngineFactory
public final class AsahiEngineFactory implements ScriptEngineFactory
Glom
-
-
Constructor Summary
Constructors Constructor Description AsahiEngineFactory()
-
Method Summary
Modifier and Type Method Description String
getEngineName()
String
getEngineVersion()
List<String>
getExtensions()
List<String>
getMimeTypes()
List<String>
getNames()
String
getLanguageName()
String
getLanguageVersion()
Object
getParameter(String key)
String
getMethodCallSyntax(String obj, String method, String args)
String
getOutputStatement(String toDisplay)
String
getProgram(String statements)
AsahiEngine
getScriptEngine()
final static Unit
add(Pair<File, AsahiCompiledScript> pair)
final static Unit
addScript(File file, AsahiCompiledScript script)
final static AsahiCompiledScript
getScript(File file)
final static AsahiCompiledScript
search(String path)
-
-
Method Detail
-
getEngineName
String getEngineName()
-
getEngineVersion
String getEngineVersion()
-
getExtensions
List<String> getExtensions()
-
getMimeTypes
List<String> getMimeTypes()
-
getLanguageName
String getLanguageName()
-
getLanguageVersion
String getLanguageVersion()
-
getParameter
Object getParameter(String key)
-
getMethodCallSyntax
String getMethodCallSyntax(String obj, String method, String args)
-
getOutputStatement
String getOutputStatement(String toDisplay)
-
getProgram
String getProgram(String statements)
-
getScriptEngine
AsahiEngine getScriptEngine()
-
add
final static Unit add(Pair<File, AsahiCompiledScript> pair)
-
addScript
final static Unit addScript(File file, AsahiCompiledScript script)
-
getScript
final static AsahiCompiledScript getScript(File file)
-
search
final static AsahiCompiledScript search(String path)
-
-
-
-