![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Groovy
文章平均质量分 57
iteye_11969
这个作者很懒,什么都没留下…
展开
-
Groovy 操作mysql数据库
Groovy 操作mysql数据库例子,Groovy 操作数据库 import groovy.sql.Sql class MyGroovy { static void main(args) { def db_url="jdbc:mysql://localhost:3306/test" def username="root" def password="root"...原创 2012-05-30 10:16:22 · 721 阅读 · 0 评论 -
Groovy解析xml
Groovy解析xml,解析过程超简洁 方式1: static main(args) { File xmls =new File(""); def asset = new XmlParser().parse("c:/CCTV1_20120523_185942738_770297_117912.xml"); def title=asset.title[0].text() ...原创 2012-05-30 13:32:39 · 100 阅读 · 0 评论 -
Groovy解析xml
Groovy解析xml,解析过程超简洁 方式1: static main(args) { File xmls =new File(""); def asset = new XmlParser().parse("c:/CCTV1_20120523_185942738_770297_117912.xml"); def title=asset.title[0].text() ...原创 2012-05-30 13:34:09 · 86 阅读 · 0 评论