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;
}
}
时间: 2024-12-17 11:50:16