标签:string except str todo ted number oge format ret
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
标签:string except str todo ted number oge format ret
原文地址:http://www.cnblogs.com/weberliweiming/p/6347493.html