1 private boolean isRowEmpty(Row row){ 2 for (int c = row.getFirstCellNum(); c < row.getLastCellNum(); c++) { 3 Cell cell = row.getCell(c); 4 if (cell != null && cell.getCellType() != Cell.CELL_TYPE_BLANK) 5 return false; 6 } 7 return true; 8 }