POI实现插入行
http://hi.baidu.com/xiangliling/blog/item/9555da036d24b8f909fa9323.html
?
?
查了API没有找到插入行的方法
不过找到shiftRows方法将最后的空行移到需要插入行的位置,再用createRow生成
sheet.shiftRows(insertRowNum,?sheet.getLastRowNum(),?1,true,false);
sheet.createRow(insertRowNum);