摘要: import com.changxin.util.StringUtil;fieldNames = getFiledName(inpatientDetail); names = StringUtil.arrayToCommaDelimitedString(fieldNames); 阅读全文
posted @ 2014-10-18 22:56 春夏秋冬春 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 因为项目需要用到,于是简单封装了一些常用的操作:[java]view plaincopy/***根据属性名获取属性值**/privateObjectgetFieldValueByName(StringfieldName,Objecto){try{StringfirstLetter=fieldName... 阅读全文
posted @ 2014-10-18 22:28 春夏秋冬春 阅读(616) 评论(0) 推荐(1) 编辑
摘要: 日志记录器(Logger)是日志处理的核心组件。log4j具有5种正常级别(Level)。:1.static Level DEBUG :DEBUG Level指出细粒度信息事件对调试应用程序是非常有帮助的。2.static Level INFOINFO level表明 消息在粗粒度级别上突出强调应用... 阅读全文
posted @ 2014-10-18 22:25 春夏秋冬春 阅读(973) 评论(0) 推荐(0) 编辑