标签:int ret object ack stream .com res bsp put
public class CommonFunc {
/**
* 取properties文件中的键值对
*/
public static String getProperties(String param) throws Exception {
Properties prop = new Properties();
InputStream in = Object.class.getResourceAsStream("/jdbc.properties");
try {
prop.load(in);
return prop.getProperty(param).trim();
} catch (IOException e) {
e.printStackTrace();
}
return "";
}
}
标签:int ret object ack stream .com res bsp put
原文地址:http://www.cnblogs.com/haorun/p/6020331.html