摘要: DOM(Document Object Model) API: 顾名思义,基于dom 书读写xml。public static void main(String[] args) throws SAXException, IOException, ParserConfigurat... 阅读全文
posted @ 2015-09-21 16:07 码农大刘 阅读(565) 评论(0) 推荐(0) 编辑
摘要: Nashorn是在java中高效动态执行JS代码的运行环境。ScriptEngine engine = new ScriptEngineManager().getEngineByName("nashorn"); engine.eval("print('hello');"); // ex... 阅读全文
posted @ 2015-09-21 09:22 码农大刘 阅读(3678) 评论(0) 推荐(0) 编辑