如何用java jxi清空excel单元格的值?
Workbookrwb=null;Cellcell=null;InputStreamstream=newFileInputStream(path);rwb=Workboo...
Workbook rwb = null;
Cell cell = null;
InputStream stream = new FileInputStream(path);
rwb = Workbook.getWorkbook(stream);
Sheet sheet = rwb.getSheet(sheetnum);
String str = null;
cell = sheet.getCell(colmun-1,j-1);
cell.clear() ?????????????????? 但后面没有clear的api 展开
Cell cell = null;
InputStream stream = new FileInputStream(path);
rwb = Workbook.getWorkbook(stream);
Sheet sheet = rwb.getSheet(sheetnum);
String str = null;
cell = sheet.getCell(colmun-1,j-1);
cell.clear() ?????????????????? 但后面没有clear的api 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询