2015年3月20日金曜日

POIでエクセルのセルが空かどうか調べるには?

Cell c = row.getCell(3);
 if (c == null || c.getCellType() == Cell.CELL_TYPE_BLANK) {
    // This cell is empty
 }

http://stackoverflow.com/questions/15764417/how-to-check-if-an-excel-cell-is-empty-using-poi

0 件のコメント:

コメントを投稿