|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
public class GroovyScriptEngineFactory
A factory class conforming to JSR-223 which is used to instantiate
Groovy ScriptEngines
and also exposes metadata describing
Groovy's engine class.
Method Summary | |
---|---|
java.lang.String
|
getEngineName()
|
java.lang.String
|
getEngineVersion()
Note that the scripting.dev.java.net engine had this backwards. |
java.util.List
|
getExtensions()
|
java.lang.String
|
getLanguageName()
This is also different than scripting.dev.java.net which used an initial lowercase. |
java.lang.String
|
getLanguageVersion()
|
java.lang.String
|
getMethodCallSyntax(java.lang.String obj, java.lang.String method, java.lang.String... args)
|
java.util.List
|
getMimeTypes()
|
java.util.List
|
getNames()
|
java.lang.String
|
getOutputStatement(java.lang.String toDisplay)
|
java.lang.Object
|
getParameter(java.lang.String key)
|
java.lang.String
|
getProgram(java.lang.String... statements)
|
javax.script.ScriptEngine
|
getScriptEngine()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public java.lang.String getEngineName()
public java.lang.String getEngineVersion()
public java.util.List getExtensions()
public java.lang.String getLanguageName()
public java.lang.String getLanguageVersion()
public java.lang.String getMethodCallSyntax(java.lang.String obj, java.lang.String method, java.lang.String... args)
public java.util.List getMimeTypes()
public java.util.List getNames()
public java.lang.String getOutputStatement(java.lang.String toDisplay)
public java.lang.Object getParameter(java.lang.String key)
public java.lang.String getProgram(java.lang.String... statements)
public javax.script.ScriptEngine getScriptEngine()
Groovy Documentation