首页 > 其他 > 详细

string to integer with logerror

时间:2017-01-24 17:27:34      阅读:177      评论:0      收藏:0      [点我收藏+]

public Integer convertStringToInt(String pSource) {
try {
return Integer.valueOf(FergusonStringUtils.trim(pSource));
} catch (NumberFormatException e) {
// TODO: handle exception
vlogError("convertStringToInt() : the String {0} cann‘t be converted to integer", pSource);
return 0;
}
}

string to integer with logerror

原文:http://www.cnblogs.com/weberliweiming/p/6347493.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!