@@ -0,0 +1,1109 @@
+package com.asksunny.batch.graph;%0D%0A%0D%0Aimport java.util.List;%0D%0A%0D%0Aimport javax.script.Compilable;%0D%0Aimport javax.script.ScriptEngine;%0D%0Aimport javax.script.ScriptEngineFactory;%0D%0Aimport javax.script.ScriptEngineManager;%0D%0A%0D%0Apublic class Scrapebook %7B%0D%0A%0D%0A%09public Scrapebook() %7B%0D%0A%09%09// TODO Auto-generated constructor stub%0D%0A%09%7D%0D%0A%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A%09%09System.setProperty(%22python.console.encoding%22,  %22UTF-8%22);%0D%0A%09%09ScriptEngineManager manager = new ScriptEngineManager();%0D%0A%09%09List%3CScriptEngineFactory%3E sefs = manager.getEngineFactories();%0D%0A%09%09for (ScriptEngineFactory scriptEngineFactory : sefs) %7B%0D%0A%09%09%09System.out.println(scriptEngineFactory.getEngineName());%0D%0A%09%09%7D%0D%0A%09%09ScriptEngine engine = manager.getEngineByName(%22Nashorn%22);%0D%0A%09%09System.out.println(engine instanceof Compilable);%0D%0A%09%09%0D%0A%09%09engine = manager.getEngineByName(%22groovy%22);%0D%0A%09%09System.out.println(engine instanceof Compilable);%09%09%0D%0A%09%09%0D%0A%09%09engine = manager.getEngineByName(%22ruby%22);%0D%0A%09%09System.out.println(engine instanceof Compilable);%0D%0A%09%09%0D%0A%09%09engine = manager.getEngineByName(%22python%22);%0D%0A%09%09System.out.println(engine instanceof Compilable);%0D%0A%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

add test