|
Groovy 2.2.0 | |||||||
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 | |
---|---|
String
|
getEngineName()
|
String
|
getEngineVersion()
Note that the scripting.dev.java.net engine had this backwards. |
List
|
getExtensions()
|
String
|
getLanguageName()
This is also different than scripting.dev.java.net which used an initial lowercase. |
String
|
getLanguageVersion()
|
String
|
getMethodCallSyntax(String obj, String method, String... args)
|
List
|
getMimeTypes()
|
List
|
getNames()
|
String
|
getOutputStatement(String toDisplay)
|
Object
|
getParameter(String key)
|
String
|
getProgram(String... statements)
|
ScriptEngine
|
getScriptEngine()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public String getEngineName()
public String getEngineVersion()
public List getExtensions()
public String getLanguageName()
public String getLanguageVersion()
public String getMethodCallSyntax(String obj, String method, String... args)
public List getMimeTypes()
public List getNames()
public String getOutputStatement(String toDisplay)
public Object getParameter(String key)
public String getProgram(String... statements)
public ScriptEngine getScriptEngine()
Copyright © 2003-2013 The Codehaus. All rights reserved.