标签:
Reading Properties file :
Properties prop = new Properties() def path = "D:\\SoapUIStudy\\application.properties" FileInputStream fs = new FileInputStream(path) prop.load(fs) log.info prop.getProperty("name")
Result :
Tue Jun 16 15:12:38 CST 2015:INFO:soapUI
[Groovy] Reading Properties file
标签:
原文地址:http://www.cnblogs.com/MasterMonkInTemple/p/4580881.html