/** * 取得一行的cell * * @param rowNum 行号 * @return */ public Cell[] getRowCells(int rowNum) { if (readOnlyWBook == true) { return currentSheet.getRow(rowNum); } else { return wrCurrentSheet.getRow(rowNum); } }