Class NashornUtils
- java.lang.Object
-
- com.github.mjeanroy.springmvc.view.mustache.commons.lang.NashornUtils
-
@Deprecated public final class NashornUtils extends Object
Deprecated.Nashorn will be removed after jdk 11, so nashorn engine ill be removed in the next major version.Nashorn Utilities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ScriptEngine
getEngine()
Deprecated.Get new nashorn engine.static ScriptEngine
getEngine(Collection<InputStream> scripts)
Deprecated.Get new nashorn engine.
-
-
-
Method Detail
-
getEngine
public static ScriptEngine getEngine()
Deprecated.Get new nashorn engine.- Returns:
- Nashorn Engine.
-
getEngine
public static ScriptEngine getEngine(Collection<InputStream> scripts)
Deprecated.Get new nashorn engine.- Parameters:
scripts
- List of scripts to evaluate.- Returns:
- Nashorn Engine.
-
-