*/
public static Cell getOrCreateCell(Worksheet sheet,int rowIndex, int colIndex){
Row row = getOrCreateRow(sheet, rowIndex);
Cell cell = row.getCell(colIndex);
if (cell == null) {
cell = row.createCell(colIndex);
}
return cell;
}
public static Row getOrCreateRow(Worksheet sheet, int rowIndex) {