Package | Description |
---|---|
javax.script |
The scripting API consists of interfaces and classes that define
Java TM Scripting Engines and provides
a framework for their use in Java applications.
|
Modifier and Type | Method and Description |
---|---|
ScriptEngineFactory |
ScriptEngine.getFactory()
Returns a
ScriptEngineFactory for the class to which this ScriptEngine belongs. |
Modifier and Type | Method and Description |
---|---|
List<ScriptEngineFactory> |
ScriptEngineManager.getEngineFactories()
Returns a list whose elements are instances of all the
ScriptEngineFactory classes
found by the discovery mechanism. |
Modifier and Type | Method and Description |
---|---|
void |
ScriptEngineManager.registerEngineExtension(String extension,
ScriptEngineFactory factory)
Registers a
ScriptEngineFactory to handle an extension. |
void |
ScriptEngineManager.registerEngineMimeType(String type,
ScriptEngineFactory factory)
Registers a
ScriptEngineFactory to handle a mime type. |
void |
ScriptEngineManager.registerEngineName(String name,
ScriptEngineFactory factory)
Registers a
ScriptEngineFactory to handle a language
name. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.