67,513
社区成员
发帖
与我相关
我的任务
分享
if ((row != null) && (!(row.getCell((short) 0).getStringCellValue().trim())equals("")) &&
(row.getCell((short) 0).getCellType()!=row.getCell((short) 0).CELL_TYPE_BLANK))
{ ... }
String s = row.getCell((short) 0).getStringCellValue();
Matcher m = Pattern.compile("\\s+").matcher(s);
m.matches();
(row.getCell((short) 0).getStringCellValue()!=row.getCell((short) 0).CELL_TYPE_BLANK)