POI use

Introduction: POI Apache is a special operations office document project because frequently used functions to the report projects, so finishing some

1. Create an Excel sheet and

HSSFWorkbook workbook=new HSSFWorkbook
HSSFSheet sheet=workbook.createSheet("TestExcel")

2. Create Cell

Create lines and then create a column
HssRow row=sheet.createRow(0) sss

Guess you like

Origin www.cnblogs.com/wutongshu-master/p/12034008.html